{% capture cache %} {%- comment %} # ----------------------------------------------------------------------------- # ~/_data/templates/robots.txt # Liquid template to generate the robots file # # Product/Info: # https://jekyll.one # # Copyright (C) 2022 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} Sitemap: {{ "sitemap.xml" | absolute_url }} {% endcapture %} {%- comment %} POST processing of the generated file (robots.txt) -------------------------------------------------------------------------------- {% endcomment -%} {{ cache }}