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:
# format: <filename_without_extension>: <value>
home: Home
projects: Projects
bookshelf: Bookshelf
categories: Categories
tags: Tags
archives: Archives
about: About
# the text displayed in the search bar & search results
search:
@ -85,8 +82,3 @@ post:
succeed: Link copied successfully!
# pinned prompt of posts list on homepage
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 %}
{% endunless %}
<!-- categories -->
{% if post.categories.size > 0 %}
<i class="far fa-folder-open fa-fw"></i>
<!-- tags -->
{% if post.tags.size > 0 %}
<i class="fas fa-tag fa-fw"></i>
<span>
{% for category in post.categories %}
{{ category }}
{% for tag in post.tags %}
{{ tag }}
{%- unless forloop.last -%},{%- endunless -%}
{% endfor %}
</span>

View File

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

View File

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

View File

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

View File

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

View File

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