Stuff
-$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} -$$
+diff --git a/public_html/eh/eh/eh/eh-eh/Makefile b/public_html/eh/eh/eh/eh-eh/Makefile index 713c76f..eeb3cf7 100644 --- a/public_html/eh/eh/eh/eh-eh/Makefile +++ b/public_html/eh/eh/eh/eh-eh/Makefile @@ -1,8 +1,8 @@ -template := $(abspath ./pandoc/template.html) -style := $(abspath ./pandoc/style.css) +template := pandoc/template.html +style := pandoc/style.css -article_list := $(abspath ./articles.json) -list_template := $(abspath ./pandoc/meta-json-template.txt) +article_list := articles.json +list_template := pandoc/meta-json-template.txt articles := $(patsubst %.md,%.html,$(wildcard articles/*.md)) @@ -14,13 +14,13 @@ clean: rm index.html about.html; $(articles): %.html: %.md - pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@; \ + pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $(notdir $@); \ jq '.articles += [$(shell pandoc $< --template $(list_template))]' $(article_list) > articles.json.tmp; cat ./articles.json.tmp > articles.json; rm ./articles.json.tmp; index.html: index.md $(articles) - pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --output $@ + pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@ about.html: about.md - pandoc $< --template $(template) --css $(style) --output $@ + pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@ diff --git a/public_html/eh/eh/eh/eh-eh/about.html b/public_html/eh/eh/eh/eh-eh/about.html index e113d0a..7dd2873 100644 --- a/public_html/eh/eh/eh/eh-eh/about.html +++ b/public_html/eh/eh/eh/eh-eh/about.html @@ -20,9 +20,8 @@ margin: 0 0.8em 0.2em -1.6em; vertical-align: middle; } - .display.math{display: block; text-align: center; margin: 0.5rem auto;} - +
$$ \sum_{i=1}^k i = \frac{k(k+1)}{2} -$$
+