--- layout: page title: Archive tagline: Explore All Posts date: 2022-01-01 01:00:00 description: > To make all posts using J1 Theme easy accessible to the visitors, the Navigation System of J1 Template provides a Explorer module for Blog articles: the Navigator. The Naviagtor supports the users for browsing articles by sorting criteria like category and date or browsing the archive for all articles. categories: [ Blog ] tags: [ Navigator, Archive ] pagination: enabled: false permalink: /page:num/ image: path: /assets/images/modules/attics/matthaeus-1920x1280.jpg width: 1920 height: 1280 sort: date exclude_from_search: true regenerate: false # set to 'true', if update posts is required resources: [ animate, scroller ] resource_options: - attic: padding_top: 550 slides: - url: /assets/images/modules/attics/matthaeus-1920x1280.jpg alt: Photo by Matthaeus on Unsplash 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' %} {% assign navigator_path = page_path|remove_first: '/archive' %} {% capture navigator %}{{navigator_path}}/{% 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 %} Collect CSS image filters -------------------------------------------------------------------------------- {% endcomment %} {% if blog_navigator_options.filters %} {% for filter in blog_navigator_options.filters %} {% capture css_filters %}{{css_filters}} {{filter[0]}}({{filter[1]}}){% endcapture %} {% endfor %} {% capture image_filters %}filter:{{css_filters}}{% endcapture %} {% else %} {% assign image_filters = '' %} {% endif %} {% 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 %}