--- layout: page title: Creators Blog tagline: posts by tag description: > Browse articles by tag categories: [ Blog ] tags: [ Navigator, Tags ] sort: date toc: true fam_menu_id: open_toc pagination: enabled: false permalink: /page:num/ analytics: true advertising: false comments: false regenerate: false resource_options: - attic: padding_top: 400 padding_bottom: 50 opacity: 0.5 slides: - url: /assets/images/modules/attics/matthaeus-1920x1280.jpg alt: Photo by Matthaeus alignY: top badge: type: unsplash author: Matthaeus href: https://unsplash.com/@matthaeus123 --- {% comment %} TODO: logic for "letter_group_written == false" to be fixed -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures -------------------------------------------------------------------------------- {% endcomment %} {% capture get_page_path %}themes/{{site.template.name}}/procedures/global/get_page_path.proc{% endcapture %} {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %} {% capture get_category %}themes/{{site.template.name}}/procedures/global/get_category.proc{% endcapture %} {% capture get_category_item %}themes/{{site.template.name}}/procedures/global/get_category_item.proc{% endcapture %} {% capture create_word_cloud %}themes/{{site.template.name}}/procedures/global/create_word_cloud.proc{% endcapture %} {% comment %} Set config files -------------------------------------------------------------------------------- {% endcomment %} {% assign template_config = site.data.j1_config %} {% assign blocks = site.data.blocks %} {% assign modules = site.data.modules %} {% assign builder = site.data.builder %} {% assign plugins = site.data.plugins %} {% comment %} Set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign blog_navigator_defaults = builder.defaults.blog_navigator.defaults %} {% assign blog_navigator_settings = builder.blog_navigator.settings %} {% comment %} Set config options -------------------------------------------------------------------------------- {% endcomment %} {% assign blog_navigator_options = blog_navigator_defaults | merge: blog_navigator_settings %} {% comment %} Variables -------------------------------------------------------------------------------- {% endcomment %} {% assign truncate_words = site.excerpt_truncate_words %} {% if site.permalink == 'none' %} {% capture browser_page_url %}{{page.url}}.html{% endcapture %} {% else %} {% capture browser_page_url %}{{page.url}}{% endcapture %} {% endif %} {% comment %} jadams: skip_words needs to be configured by yaml data file -------------------------------------------------------------------------------- {% endcomment %} {% assign letter_groups = "ab, cd, ef, gh, ij, kl, mn, op, qr, st, uvw, xyz" %} {% assign letter_groups = letter_groups | remove: ' ' %} {% assign letter_group_array = letter_groups | split:',' %} {% assign letter_group_counter = 0 %} {% assign letter_group_written = false %} {% include {{get_page_path}} mode='absolute' %} {% assign navigator_path = page_path | remove_first:'archive' %} {% capture navigator %}{{navigator_path}}{% endcapture %} {% capture blog_preview %}{{page_path}}/preview/{% endcapture %} {% capture date_view %}{{page_path}}/dateview/{% endcapture %} {% capture category_view %}{{page_path}}/categoryview/{% endcapture %} {% capture tag_view %}{{page_path}}/tagview/{% endcapture %} {% capture all_view %}{{page_path}}/{% endcapture %} {% comment %} TODO: skip_words should configured by yaml data file? -------------------------------------------------------------------------------- {% endcomment %} {% assign tags = site.tags | sort %} {% capture site_tag_word_list %}{% for tag in site.tags %}{{tag | first}}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %} {% assign tags = site_tag_word_list | split:',' %} {% for tag in tags %} {% if page.skip_words contains tag %} {% continue %} {% endif %} {% capture tag_list %}{{tag_list | append: tag}}{% unless forloop.last %},{% endunless %}{% endcapture %} {% endfor %} {% comment %} language detection -------------------------------------------------------------------------------- {% endcomment %} {% if site.language == "en" %} {% assign language = "en" %} {% elsif site.language == "de"%} {% assign language = "de" %} {% else %} {% assign language = "en" %} {% endif %} {% if language == "en" %} {% assign readmore_text = "read" %} {% assign category_view_button_text = blog_navigator_options.button_text.view_selector.category_view.en %} {% assign date_view_button_text = blog_navigator_options.button_text.view_selector.date_view.en %} {% assign archive_view_button_text = blog_navigator_options.button_text.view_selector.archive_view.en %} {% assign tag_view_button_text = blog_navigator_options.button_text.view_selector.tag_view.en %} {% assign view_headline = blog_navigator_options.tag_view.page_text.en.headline %} {% assign view_description_text = blog_navigator_options.tag_view.page_text.en.description %} {% endif %} {% if language == "de" %} {% assign readmore_text = "lesen" %} {% assign category_view_button_text = blog_navigator_options.button_text.view_selector.category_view.de %} {% assign date_view_button_text = blog_navigator_options.button_text.view_selector.date_view.de %} {% assign archive_view_button_text = blog_navigator_options.button_text.view_selector.archive_view.de %} {% assign tag_view_button_text = blog_navigator_options.button_text.view_selector.tag_view.de %} {% assign view_headline = blog_navigator_options.tag_view.page_text.de.headline %} {% assign view_description_text = blog_navigator_options.tag_view.page_text.de.description %} {% endif %} {% comment %} Debugging -------------------------------------------------------------------------------- skip_categories: {{skip_categories | debug}} site_category_word_list: {{site_category_word_list | debug}} -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% include {{create_word_cloud}} word_list=tag_list source="tags" %}