--- layout: page title: Creators Blog tagline: all posts description: Create index pages for articles this website categories: [ Blog ] tags: [ Navigator, Archive ] sort: date toc: true fab_menu_id: open_toc pagination: enabled: false permalink: /page:num/ analytics: false advertising: false comments: false exclude_from_search: true regenerate: false # set to 'true', if update posts is required resources: [ animate ] resource_options: - attic: 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 %} 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_item %}themes/{{site.template.name}}/procedures/global/get_category_item.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 plugins = site.data.plugins %} {% comment %} Set config data -------------------------------------------------------------------------------- {% endcomment %} {% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %} {% assign blog_navigator_settings = modules.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 %} {% assign category_blacklist = template_config.posts.category_blacklist %} {% if site.permalink == 'none' %} {% capture browser_page_url %}{{page.url}}.html{% endcapture %} {% else %} {% capture browser_page_url %}{{page.url}}{% endcapture %} {% endif %} {% include {{get_page_path}} mode='absolute' %} {% capture navigator %}{{page_path}}/{% endcapture %} {% capture blog_preview %}{{page_path}}/archive/preview/{% endcapture %} {% capture date_view %}{{page_path}}/archive/dateview/{% endcapture %} {% capture category_view %}{{page_path}}/archive/categoryview/{% endcapture %} {% capture tag_view %}{{page_path}}/archive/tagview/{% endcapture %} {% capture all_view %}{{page_path}}/{% endcapture %} {% 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.archive_view.page_text.en.headline %} {% assign view_description_text = blog_navigator_options.archive_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.archive_view.page_text.de.headline %} {% assign view_description_text = blog_navigator_options.archive_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 %}
{% if blog_navigator_options.archive_view.page_text.enabled %}
{{view_description_text}}
{% endif %}

{{view_headline}}

{% for post in site.posts %} {% comment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %} {% endcomment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...' %} {% for sharing in builder_config.sharing_provider %} {% assign provider = sharing.provider %} {% assign likes_count = sharing.likes_count %} {% assign comment_count = sharing.comment_count %} {% endfor %}

{{post.title}}

{% if post.image %}
{% else %}
{% endif %}
{{excerpt}}
{% endfor %}