{%- macro stylesheet() %} {%- endmacro %} {%- macro resource() %} {%- if config.extra.fonts %}{%- for i in config.extra.fonts %} {%- if i.url is matching("^http[s]?://") %} {%- else %} {%- endif %} {%- endfor %}{%- endif %} {%- if config.extra.fontawesome %} {%- endif %} {%- if config.build_search_index %} {%- if config.extra.js_search_index %} {%- endif %} {%- if config.extra.js_search %} {%- endif %} {%- endif %} {%- if config.generate_feed %} {%- endif %} {%- endmacro %} {%- macro favicons() %} {%- if config.extra.favicon_theme_color %} {%- endif %} {%- if config.extra.favicon_ms_color %} {%- endif %} {%- if config.extra.favicon_webmanifest %} {%- endif %} {%- if config.extra.favicon_mask and config.extra.favicon_mask_color %} {%- endif %} {%- if config.extra.favicon180 %} {%- endif %} {%- if config.extra.favicon32 %} {%- endif %} {%- if config.extra.favicon16 %} {%- endif %} {%- endmacro %} {#- type: website or article, generally setting article for blog articles -#} {#- page_images: using for the blog single template page -#} {#- page_section: the blog single template page have to pass the parameter -#} {#- is_404: using for the 404.html template -#} {%- macro seo( title="",title_addition="",description="",type="website",is_home=false,is_404=false,is_page=false,page_images="",page_section="",created_time="2021-07-04T07:07:00-07:00", updated_time="2021-07-04T07:07:00-07:00" ) %} {%- if is_404 -%} {%- else -%} {%- endif -%} {%- if current_url %} {%- set page_url = current_url %} {%- else %} {%- set page_url = get_url(path="404.html", trailing_slash=true) %} {%- endif %}