summaryrefslogtreecommitdiff
path: root/source/_layouts/concept.html
diff options
context:
space:
mode:
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 }}