Remove concept of categories entirely.

pull/1/head
Joshua Potter 2023-07-19 05:12:36 -06:00
parent 4323eadd4f
commit 6bd497ddfd
7 changed files with 5 additions and 18 deletions

View File

@ -11,12 +11,9 @@ layout:
tabs: tabs:
# format: <filename_without_extension>: <value> # format: <filename_without_extension>: <value>
home: Home home: Home
projects: Projects
bookshelf: Bookshelf bookshelf: Bookshelf
categories: Categories
tags: Tags tags: Tags
archives: Archives archives: Archives
about: About
# the text displayed in the search bar & search results # the text displayed in the search bar & search results
search: search:
@ -85,8 +82,3 @@ post:
succeed: Link copied successfully! succeed: Link copied successfully!
# pinned prompt of posts list on homepage # pinned prompt of posts list on homepage
pin_prompt: Pinned pin_prompt: Pinned
# categories page
categories:
category_measure: categories
post_measure: posts

View File

@ -54,12 +54,12 @@ layout: page
{% include read-time.html content=post.content %} {% include read-time.html content=post.content %}
{% endunless %} {% endunless %}
<!-- categories --> <!-- tags -->
{% if post.categories.size > 0 %} {% if post.tags.size > 0 %}
<i class="far fa-folder-open fa-fw"></i> <i class="fas fa-tag fa-fw"></i>
<span> <span>
{% for category in post.categories %} {% for tag in post.tags %}
{{ category }} {{ tag }}
{%- unless forloop.last -%},{%- endunless -%} {%- unless forloop.last -%},{%- endunless -%}
{% endfor %} {% endfor %}
</span> </span>

View File

@ -1,6 +1,5 @@
--- ---
title: Tagless Final Parsing title: Tagless Final Parsing
categories: [Programming]
tags: [haskell, parsing, type] tags: [haskell, parsing, type]
--- ---

View File

@ -1,6 +1,5 @@
--- ---
title: Homesync title: Homesync
categories: [Programming, Projects]
tags: [git, rust] tags: [git, rust]
version: v0.1.0-alpha version: v0.1.0-alpha
github: https://github.com/jrpotter/homesync github: https://github.com/jrpotter/homesync

View File

@ -1,6 +1,5 @@
--- ---
title: Flake Templates title: Flake Templates
categories: [Programming, Projects]
tags: [nix] tags: [nix]
github: https://github.com/jrpotter/flake-templates github: https://github.com/jrpotter/flake-templates
--- ---

View File

@ -1,6 +1,5 @@
--- ---
title: Effect Systems title: Effect Systems
categories: [Programming]
tags: [haskell, category, effects, type] tags: [haskell, category, effects, type]
--- ---

View File

@ -1,6 +1,5 @@
--- ---
title: Anki Synonyms title: Anki Synonyms
categories: [Programming, Projects]
tags: [anki, python] tags: [anki, python]
github: https://github.com/jrpotter/anki-synonyms github: https://github.com/jrpotter/anki-synonyms
--- ---