From 8d0dd0dea5859be4d273a265c3015af829f4f65d Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Fri, 14 Aug 2026 21:28:41 -0700
Subject: Update Documentation
---
templates/components/components.html | 140 -----------------------------------
1 file changed, 140 deletions(-)
(limited to 'templates/components/components.html')
diff --git a/templates/components/components.html b/templates/components/components.html
index 7ce9ef3..e12b45f 100644
--- a/templates/components/components.html
+++ b/templates/components/components.html
@@ -1,5 +1,3 @@
-{# Former macro components #}
-
{% component translate(key: string, i18n, default="") %}
{{- i18n[key] | default(value=default) | safe -}}
{% endcomponent translate %}
@@ -364,141 +362,3 @@
{%- endif %}
{% endcomponent numpagination %}
-
-{% component seo( config, title="", title_addition="", description="", type="website", is_home=false, is_404=false, is_page=false, page_images="", page_section="", created_time="2023-05-15T07:07:00-07:00", updated_time="2023-05-15T07:07:00-07:00", page="" ) -%}
-{#- Load current language i18n data from .toml files in user's '/i18n' folder, use theme as fallback. -#}
-{%- set _lang = page.lang if page else config.default_language -%}
-{%- set i18n = load_data(path="i18n/" ~ _lang ~ '.toml', required=false) -%}
-{%- if not i18n -%}{%- set i18n = load_data(path="themes/abridge/i18n/" ~ _lang ~ ".toml", required=false) -%}{%- endif -%}
-{%- set lang_locale %}{{}}{% endset -%}
-{%- 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 %}
-
{{ title ~ title_addition }}
-
-{%- if config.extra?.author %}
-
-{%- endif %}
-{%- if config.extra?.facebook_publisher %}
-
-{%- endif %}
-
-{%- if config.extra?.facebook_author %}
-
-{%- endif %}
-{%- if page?.description %}
-
-{%- else %}
-
-{%- endif %}
-
-{%- if page?.extra?.keywords and config.extra?.keywords %}
-
-{%- elif page?.extra?.keywords %}
-
-{%- elif config.extra?.keywords %}
-
-{%- endif %}
-
-{#- Extra SEO START #}
-{%- if config.extra?.seo | default(value=true) %}
-{%- if not is_404 %}
-
-{%- if config.extra?.google %}
-
-{%- endif %}
-
-{%- if config.extra?.bing %}
-
-{%- endif %}
-
-
-
-{%- if page?.description %}
-
-
-{%- else %}
-
-
-{%- endif %}
-
-{%- if page?.title %}
-
-
-{%- else %}
-
-
-{%- endif %}
-
-
-{#- SEO MEDIA START #}
-{%- if page?.extra?.thumbnail %}
-
-
-
-
-{%- elif page?.extra?.static_thumbnail %}
-
- {%- if page?.extra?.static_thumbnail is matching(pat="^http[s]?://") %}
-
-
- {%- else %}
-
-
- {%- endif %}
-
-{%- elif config.extra?.banner %}
-
-
-
-
-{%- else %}
-
-
-{%- endif %}
-
-{%- if config.extra?.open?.audio %}
-
-{%- endif %}
-
-{%- if config.extra?.open?.locale %}
-
-{%- endif %}
-
-{%- if config.extra?.open?.videos %}
- {%- for video in config.extra?.open?.videos %}
-
- {%- endfor %}
-{%- endif %}
-
-{#- SEO MEDIA END #}
-
-
-
-{%- if page?.updated %}
-
-{%- elif page?.date %}
-
-{%- else %}
-
-{%- endif %}
-
-{%- if config.extra?.twitter_meta %}
-
-
-{%- endif -%}
-{%- endif -%}
-{%- endif -%}
-{#- Extra SEO END -#}
-{% endcomponent seo %}
-
--
cgit v1.3.1