tag section pages and layout

This commit is contained in:
⧉ infominer 2023-04-14 10:00:05 +05:30
parent 3f455dcf93
commit 1c7e77da5c
18 changed files with 150 additions and 0 deletions

31
_layouts/section.html Normal file
View File

@ -0,0 +1,31 @@
---
layout: archive
---
<h2>Navigation</h2>
<ul>
{% for item in site.data.tagz %}
{% if item[0] == page.section %}
{% for tag in item[1] %}
<li><a href="#{{ tag | slugify }}">{{ tag | upcase | replace: '_', ' '}}</a></li>
{% endfor %}
{% endif %}
{% endfor %}
</ul>
<h2>Content</h2>
{% for item in site.data.tagz %}
{% if item[0] == page.section %}
{% for tag in site.tags %}
{% if item[1] contains tag[0] %}
<h3 id="{{ tag[0] | slugify }}">{{ tag[0] }}</h3>
<sup><a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a></sup>
<div class="entries-{{ entries_layout }}">
{% for post in tag.last %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
{% endif %}
{% endfor %}
{% endif %}
{% endfor%}

View File

@ -0,0 +1,7 @@
---
title: 'Affiliation: Posts Grouped by Tag'
layout: section
permalink: tags/affiliation/
canonical_url: 'https://decentralized-id.com/tags/affiliation/'
section: affiliation
---

7
_pages/tags/business.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Business: Posts Grouped by Tag'
layout: section
permalink: tags/business/
canonical_url: 'https://decentralized-id.com/tags/business/'
section: business
---

7
_pages/tags/concepts.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Concepts: Posts Grouped by Tag'
layout: section
permalink: tags/concepts/
canonical_url: 'https://decentralized-id.com/tags/concepts/'
section: concepts
---

7
_pages/tags/content.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Content: Posts Grouped by Tag'
layout: section
permalink: tags/content/
canonical_url: 'https://decentralized-id.com/tags/content/'
section: content
---

View File

@ -0,0 +1,7 @@
---
title: 'DID Methods: Posts Grouped by Tag'
layout: section
permalink: tags/did-methods/
canonical_url: 'https://decentralized-id.com/tags/did-methods/'
section: did_methods
---

7
_pages/tags/events.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Events: Posts Grouped by Tag'
layout: section
permalink: tags/events/
canonical_url: 'https://decentralized-id.com/tags/events/'
section: events
---

7
_pages/tags/focus.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Focus: Posts Grouped by Tag'
layout: section
permalink: tags/focus/
canonical_url: 'https://decentralized-id.com/tags/focus/'
section: focus
---

7
_pages/tags/guidance.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Guidance: Posts Grouped by Tag'
layout: section
permalink: tags/guidance/
canonical_url: 'https://decentralized-id.com/tags/guidance/'
section: guidance
---

7
_pages/tags/platforms.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Platforms: Posts Grouped by Tag'
layout: section
permalink: tags/platforms/
canonical_url: 'https://decentralized-id.com/tags/platforms/'
section: platforms
---

7
_pages/tags/policy.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Policy: Posts Grouped by Tag'
layout: section
permalink: tags/policy/
canonical_url: 'https://decentralized-id.com/tags/policy/'
section: policy
---

7
_pages/tags/products.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Products: Posts Grouped by Tag'
layout: section
permalink: tags/products/
canonical_url: 'https://decentralized-id.com/tags/products/'
section: products
---

7
_pages/tags/protocols.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Products: Posts Grouped by Tag'
layout: section
permalink: tags/products/
canonical_url: 'https://decentralized-id.com/tags/products/'
section: products
---

7
_pages/tags/region.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Region: Posts Grouped by Tag'
layout: section
permalink: tags/region/
canonical_url: 'https://decentralized-id.com/tags/region/'
section: region
---

View File

@ -0,0 +1,7 @@
---
title: 'Specifications / Standards: Posts Grouped by Tag'
layout: section
permalink: tags/specs-standards/
canonical_url: 'https://decentralized-id.com/tags/specs-standards/'
section: specs_standards
---

7
_pages/tags/tech.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Tech: Posts Grouped by Tag'
layout: section
permalink: tags/tech/
canonical_url: 'https://decentralized-id.com/tags/tech/'
section: tech
---

7
_pages/tags/tools.md Normal file
View File

@ -0,0 +1,7 @@
---
title: 'Tools: Posts Grouped by Tag'
layout: section
permalink: tags/tools/
canonical_url: 'https://decentralized-id.com/tags/tools/'
section: tools
---

View File

@ -0,0 +1,7 @@
---
title: 'Working Groups: Posts Grouped by Tag'
layout: section
permalink: tags/working-groups/
canonical_url: 'https://decentralized-id.com/tags/working-groups/'
section: working_groups
---