Effects of pore modification on the templating of guest molecules in a 2D honeycomb network