summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2021-02-05 17:24:33 +1100
committerJed Barber <jjbarber@y7mail.com>2021-02-05 17:24:33 +1100
commit3a1a7a4d62dce554436aa8c23e980204a481c7b4 (patch)
tree1879cb529eea1b8cadca5885958c4cd3163cb0b3
parent9fd72ae4c4b852b94a2f3fdc760de81206a44857 (diff)
Added compsci tag
-rw-r--r--project/complexity.yml1
-rw-r--r--project/context/articles.json4
-rw-r--r--project/context/tags.json1
-rw-r--r--project/templates/tags/compsci.html (renamed from project/templates/tags/gaming.html)6
4 files changed, 7 insertions, 5 deletions
diff --git a/project/complexity.yml b/project/complexity.yml
index 22f8667..1a3b01a 100644
--- a/project/complexity.yml
+++ b/project/complexity.yml
@@ -25,6 +25,7 @@ unexpanded_templates:
- "tags.html"
- "tags/application.html"
- "tags/binding.html"
+ - "tags/compsci.html"
- "tags/copyright.html"
- "tags/esoteric.html"
- "tags/languages.html"
diff --git a/project/context/articles.json b/project/context/articles.json
index feb5d44..b9a3977 100644
--- a/project/context/articles.json
+++ b/project/context/articles.json
@@ -3,7 +3,7 @@
{
"title": "Packrat Parser Combinator Library",
"anchor": "/packrat.html",
- "taglist": ["library", "programming"],
+ "taglist": ["compsci", "library", "programming"],
"postdate": "2/2/2021"
},
{
@@ -15,7 +15,7 @@
{
"title": "D, Parasail, Pascal, and Rust vs The Steelman",
"anchor": "/steelman.html",
- "taglist": ["languages"],
+ "taglist": ["compsci", "languages"],
"postdate": "29/10/2017"
},
{
diff --git a/project/context/tags.json b/project/context/tags.json
index 14e22a1..52088df 100644
--- a/project/context/tags.json
+++ b/project/context/tags.json
@@ -1,6 +1,7 @@
[ "application",
"binding",
+ "compsci",
"copyright",
"esoteric",
"languages",
diff --git a/project/templates/tags/gaming.html b/project/templates/tags/compsci.html
index 4520655..c39f7f1 100644
--- a/project/templates/tags/gaming.html
+++ b/project/templates/tags/compsci.html
@@ -3,7 +3,7 @@
-{% block title %}Gaming Tag{% endblock %}
+{% block title %}Compsci Tag{% endblock %}
@@ -15,11 +15,11 @@
{% block content %}
-<h4>Tag: Gaming</h4>
+<h4>Tag: Compsci</h4>
<ul class="index">
{%- for item in articles -%}
- {%- if 'gaming' in item.taglist -%}
+ {%- if 'compsci' in item.taglist -%}
{%- if item.updated -%}{%- set postclass = "update" -%}{%- else -%}{%- set postclass = "post" -%}{%- endif -%}
{%- if item.updated -%}{%- set postverb = "Updated" -%}{%- else -%}{%- set postverb = "Posted" -%}{%- endif %}
<li><a href="{{ item.anchor }}">{{ item.title }}</a><br>