summaryrefslogtreecommitdiff
path: root/source/_layouts/concept.html
diff options
context:
space:
mode:
authorPrefetch2022-10-14 23:25:28 +0200
committerPrefetch2022-10-14 23:25:28 +0200
commit6ce0bb9a8f9fd7d169cbb414a9537d68c5290aae (patch)
treea0abb6b22f77c0e84ed38277d14662412ce14f39 /source/_layouts/concept.html
Initial commit after migration from Hugo
Diffstat (limited to 'source/_layouts/concept.html')
-rw-r--r--source/_layouts/concept.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/_layouts/concept.html b/source/_layouts/concept.html
new file mode 100644
index 0000000..7a0849c
--- /dev/null
+++ b/source/_layouts/concept.html
@@ -0,0 +1,21 @@
+---
+layout: "default"
+---
+
+<p>
+{% assign categories = page.categories | sort %}
+Categories:
+{% for category in categories %}
+{% assign url = category | slugify %}
+<a href="/know/category/{{ url }}">{{ category }}</a>{% if forloop.last == false %},{% endif %}{% endfor %}.
+</p>
+
+<h1>{{ page.title }}</h1>
+
+{% capture markdown_after_katex %}
+{% katexmm %}
+{{ page.content }}
+{% endkatexmm %}
+{% endcapture %}
+
+{{ markdown_after_katex | markdownify }}