Commit 7d295d93 authored by PoroCYon's avatar PoroCYon

comment links

parent 2e634017
......@@ -56,7 +56,7 @@ out/blog.html: src/blog.md obj/postlist.html
out/%.html: src/%.md
@if ! [ -d "$(dir $@)" ]; then mkdir -p "$(dir $@)"; fi
$(PANDOC) $(PDFLAGS) -f $(PDMARKDOWN) --template=tpl/template -t html "$<" -o "$@"
$(PANDOC) $(PDFLAGS) -f $(PDMARKDOWN) --template=tpl/template.html -t html "$<" -o "$@"
out/stc/%.css: sty/%.scss out/stc/
$(SCSSC) -t compact -M "$<" "$@"
......
---
title: Hello world!
blog-comment-link: hello-world
...
# Hello world!
I set up something that should resemble one of thse "blog" thingies,
......
---
title: RSS Test
blog-comment-link: rss-test
...
# RSS Test
RSS and Atom should be working now... hopefully.
......
......@@ -56,6 +56,10 @@ $endfor$
</td>
<td class="middle">
$body$
$if(blog-comment-link)$
<br /><br /><hr />
<a href="https://forum.fork.sh/t/$blog-comment-link$/">Comment on forum.fork.sh</a>
$endif$
</td>
<td class="right">
<p><a href="javascript:toggle_theme();">Toggle theme</a></p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment