{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/layouts/meta_data_generator.html # Liquid template to generate all meta data for all pages # # Product/Info: # https://jekyll-one.com # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one/j1_template_mde/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.title}} {% 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 != 'true' and page.isHome == 'false' %} {% endif %}