--- layout: page title: Archive tagline: Explore All Posts date: 2023-09-20 #last_modified: 2023-01-01 description: > To make all posts using J1 Template 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/1920x1280/matthaeus.jpg width: 1920 height: 1280 tts: true fab_menu_id: open_toc sort: date 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/1920x1280/matthaeus.jpg alt: Photo by Matthaeus on Unsplash badge: type: unsplash author: Matthaeus href: //unsplash.com/@matthaeus123 --- {% comment %} Debugging -------------------------------------------------------------------------------- skip_categories: {{skip_categories | debug}} site_category_word_list: {{site_category_word_list | debug}} -------------------------------------------------------------------------------- {% 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_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 %} {% comment %} Generate URLs for all Navigator Views ------------------------------------------------------------------------ {% endcomment %} {% 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 %} Collect Readmore Text -------------------------------------------------------------------------------- {% endcomment %} {% if blog_navigator_options.readmore_text %} {% assign readmore_text = blog_navigator_options.readmore_text %} {% endif %} {% comment %} Collect Button Text/Description -------------------------------------------------------------------------------- {% endcomment %} {% assign home_button_text = blog_navigator_options.button_text.view_pager.home %} {% assign navigator_button_text = blog_navigator_options.button_text.view_pager.navigator %} {% assign category_view_button_text = blog_navigator_options.button_text.view_pager.category_view %} {% assign date_view_button_text = blog_navigator_options.button_text.view_pager.date_view %} {% assign archive_view_button_text = blog_navigator_options.button_text.view_pager.archive_view %} {% assign tag_view_button_text = blog_navigator_options.button_text.view_pager.tag_view %} {% assign description_enabled = blog_navigator_options.archive_view.page_description.enabled %} {% assign description_text = blog_navigator_options.archive_view.page_description.text %} {% assign headline_enabled = blog_navigator_options.archive_view.headline.enabled %} {% assign headline_text = blog_navigator_options.archive_view.headline.text %} {% comment %} Main -------------------------------------------------------------------------------- {% endcomment %} {% comment %} Generate navigation pager -------------------------------------------------------------------------------- {% endcomment %}