Remove concept of categories entirely.
parent
4323eadd4f
commit
6bd497ddfd
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Tagless Final Parsing
|
||||
categories: [Programming]
|
||||
tags: [haskell, parsing, type]
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Homesync
|
||||
categories: [Programming, Projects]
|
||||
tags: [git, rust]
|
||||
version: v0.1.0-alpha
|
||||
github: https://github.com/jrpotter/homesync
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Flake Templates
|
||||
categories: [Programming, Projects]
|
||||
tags: [nix]
|
||||
github: https://github.com/jrpotter/flake-templates
|
||||
---
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Effect Systems
|
||||
categories: [Programming]
|
||||
tags: [haskell, category, effects, type]
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
title: Anki Synonyms
|
||||
categories: [Programming, Projects]
|
||||
tags: [anki, python]
|
||||
github: https://github.com/jrpotter/anki-synonyms
|
||||
---
|
||||
|
|
Reference in New Issue