{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/meta_data_generator.html # Liquid template to generate all meta data for all pages # # Product/Info: # https://jekyll.one # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE # # ----------------------------------------------------------------------------- # Test data: # {{site.robots | debug}} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% if page.layout == 'home' %} {{site.slogan}} {% else %} {{page.tagline}} {% endif %} {% if page.layout == 'home' %} {% if site.description %} {% endif %} {% else %} {% if page.description %} {% endif %} {% endif %} {% if site.favicon.image %} {% endif %} {% if page.layout == 'home' %} {% if page.author %} {% else %} {% endif %} {% else %} {% if page.author %} {% else %} {% endif %} {% endif %} {% if page.layout == 'home' %} {% if page.keywords %} {% else %} {% if site.keywords %} {% endif %} {% endif %} {% else %} {% if page.keywords %} {% else %} {% if site.keywords %} {% endif %} {% endif %} {% endif %} {% if site.robots.index != true %} {% endif %} {% if site.robots.follow != true %} {% endif %} {% if page.robots.index != 'true' %} {% endif %} {% if page.robots.follow != 'true' %} {% endif %}