SHARK
This commit is contained in:
parent
a900655a51
commit
f25531690f
20 changed files with 311 additions and 10 deletions
4
Makefile
4
Makefile
|
|
@ -20,7 +20,7 @@ articles := $(patsubst %.md,%.html,$(wildcard articles/*.md))
|
|||
all: index.html about.html
|
||||
|
||||
install:
|
||||
cp -r index.html about.html $(articles) $(style) $(images) $(INSTALLDIR); \
|
||||
cp -r index.html about.html shark.js shark.png dvd-logo.png $(articles) $(style) $(images) $(INSTALLDIR); \
|
||||
|
||||
clean:
|
||||
echo '{"articles": []}' > $(article_list); \
|
||||
|
|
@ -40,7 +40,7 @@ $(articles): %.html: %.md
|
|||
|
||||
index.html: index.md $(articles)
|
||||
# Build index.html with metadata injected from articles_list
|
||||
pandoc $< --template $(template) --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@; \
|
||||
pandoc $< --template $(template) --include-after-body shark.js --css $(style) --metadata-file $(article_list) --highlight-style zenburn --mathml --toc --output $@; \
|
||||
|
||||
about.html: about.md
|
||||
pandoc $< --template $(template) --css $(style) --highlight-style zenburn --mathml --toc --output $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue