A two-dimensional nanoporous covalent organic framework can be prepared on a Au(111) substrate with near complete surface coverage and can be used to control the organisation of a sublimed layer of C(60).