diff --git a/Makefile b/Makefile index 87894fd..807a483 100644 --- a/Makefile +++ b/Makefile @@ -23,18 +23,23 @@ # htv04.github.io Makefile # Phony targets -.PHONY: all pages run clean +.PHONY: all pages images run clean # Full website (default) -all: root pages +all: root images pages # Pages -pages: root/favicon.ico root/index.html +pages: images root/favicon.ico root/index.html root/%.html: src/pages/%.md root pandoc $< -f markdown --wrap=none --template=src/pages/template.html -t html -o $@ root/favicon.ico: src/pages/favicon.ico root cp $< $@ +# Images +images: root/images +root/images: src/pages/images root + cp -r $< $@ + # Website root root: mkdir root diff --git a/root/images/banner.png b/root/images/banner.png new file mode 100644 index 0000000..fbcca8f Binary files /dev/null and b/root/images/banner.png differ diff --git a/root/index.html b/root/index.html index eec022b..e09586f 100644 --- a/root/index.html +++ b/root/index.html @@ -2,16 +2,24 @@ - - - - - - - HTV04’s Website - - - - + + diff --git a/src/pages/images/banner.png b/src/pages/images/banner.png new file mode 100644 index 0000000..fbcca8f Binary files /dev/null and b/src/pages/images/banner.png differ diff --git a/src/pages/template.html b/src/pages/template.html index f3d636a..7345b95 100644 --- a/src/pages/template.html +++ b/src/pages/template.html @@ -2,25 +2,38 @@ - - - + + + + + + + + + +$if(title-prefix)$ + + + +$endif$ $for(author-meta)$ - + $endfor$ $if(date-meta)$ - + $endif$ $if(keywords)$ - + $endif$ $if(description-meta)$ - + + + $endif$ - $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ - - - + $for(css)$ - + $endfor$ $for(header-includes)$ $header-includes$ $endfor$ $if(math)$ $if(mathjax)$ - + $endif$ $math$ $endif$ - +