summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-24 16:42:56 +0100
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-24 16:42:56 +0100
commit45706e62a6a9befae949ba59ebd7003e26cca73c (patch)
tree6f9983755a0714eeedc870d316b2d9ac59fbc1a6
parentminor fix on markdown (#64) (diff)
downloadhack-gpon.github.io-add-tag.tar
hack-gpon.github.io-add-tag.tar.gz
hack-gpon.github.io-add-tag.tar.bz2
hack-gpon.github.io-add-tag.tar.lz
hack-gpon.github.io-add-tag.tar.xz
hack-gpon.github.io-add-tag.tar.zst
hack-gpon.github.io-add-tag.zip
-rw-r--r--Gemfile1
-rw-r--r--_config.yml4
-rw-r--r--_layouts/tag_page.html10
-rw-r--r--_ont/ont-adtran-sdx-611q-.md1
-rw-r--r--_ont/ont-carlitoxxpro-cpgos03-0490-v1.md1
-rw-r--r--_ont/ont-carlitoxxpro-cpgos03-0490-v2.md1
-rw-r--r--_plugins/ext.rb1
7 files changed, 19 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index c1e88da..8624243 100644
--- a/Gemfile
+++ b/Gemfile
@@ -11,4 +11,5 @@ group :jekyll_plugins do
gem "jekyll-seo-tag"
gem 'jekyll-default-layout'
gem 'jekyll-include-cache'
+ gem 'jekyll-tagging'
end
diff --git a/_config.yml b/_config.yml
index 1246691..1b1b901 100644
--- a/_config.yml
+++ b/_config.yml
@@ -32,6 +32,7 @@ plugins:
- jekyll-last-modified-at
- jekyll-redirect-from
- jekyll-default-layout
+ - jekyll-tagging
color_scheme: "light"
url: "https://hack-gpon.github.io"
@@ -117,3 +118,6 @@ just_the_docs:
sfp_cage:
name: SFP cage
nav_fold: false
+
+tag_page_layout: tag_page
+tag_page_dir: tag \ No newline at end of file
diff --git a/_layouts/tag_page.html b/_layouts/tag_page.html
new file mode 100644
index 0000000..fe2222d
--- /dev/null
+++ b/_layouts/tag_page.html
@@ -0,0 +1,10 @@
+---
+layout: default
+title: {{ page.tag }}
+---
+
+<ul>
+ {% for post in page.posts %}
+ <li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
+ {% endfor %}
+</ul> \ No newline at end of file
diff --git a/_ont/ont-adtran-sdx-611q-.md b/_ont/ont-adtran-sdx-611q-.md
index 782b2d9..aedc5eb 100644
--- a/_ont/ont-adtran-sdx-611q-.md
+++ b/_ont/ont-adtran-sdx-611q-.md
@@ -2,6 +2,7 @@
title: Adtran SDX 611Q
has_children: false
layout: default
+tag: gpon hsgmii
---
# Hardware Specifications
diff --git a/_ont/ont-carlitoxxpro-cpgos03-0490-v1.md b/_ont/ont-carlitoxxpro-cpgos03-0490-v1.md
index 943e1b0..6f35351 100644
--- a/_ont/ont-carlitoxxpro-cpgos03-0490-v1.md
+++ b/_ont/ont-carlitoxxpro-cpgos03-0490-v1.md
@@ -4,4 +4,5 @@ has_children: false
redirect_to: /ont-hilink-hl23446
layout: default
parent: CarlitoxxPro
+tag: gpon hsgmii
--- \ No newline at end of file
diff --git a/_ont/ont-carlitoxxpro-cpgos03-0490-v2.md b/_ont/ont-carlitoxxpro-cpgos03-0490-v2.md
index 08da5df..90a5ffd 100644
--- a/_ont/ont-carlitoxxpro-cpgos03-0490-v2.md
+++ b/_ont/ont-carlitoxxpro-cpgos03-0490-v2.md
@@ -3,6 +3,7 @@ title: CarlitoxxPro CPGOS03-0490 v2
has_children: false
layout: default
parent: CarlitoxxPro
+tag: gpon
---
# Hardware Specifications
diff --git a/_plugins/ext.rb b/_plugins/ext.rb
new file mode 100644
index 0000000..8c6e2a1
--- /dev/null
+++ b/_plugins/ext.rb
@@ -0,0 +1 @@
+require 'jekyll/tagging' \ No newline at end of file