Commit 14281446 authored by PoroCYon's avatar PoroCYon

initial

parents
out/
stc/mathjax.js
This diff is collapsed.
# Copyright © 2017 PoroCYon
# This work is free. It comes without any warranty, to the extent
# permitted by applicable law. You can redistribute it and/or modify it
# under the terms of the Do What The Fuck You Want To Public License,
# Version 2, as published by Sam Hocevar. See http://www.wtfpl.net/ for
# more details.
default: all
MATHJAX=https://github.com/mathjax/MathJax/raw/master/MathJax.js
PANDOC ?= pandoc
PDMARKDOWN="markdown_github+raw_tex+yaml_metadata_block+table_captions+implicit_figures+simple_tables+multiline_tables+grid_tables+tex_math_dollars+fenced_code_attributes+inline_code_attributes+markdown_attribute+fancy_lists+all_symbols_escapable+superscript+subscript+header_attributes-emoji"
PDFLAGS=-s --ascii -S -M date="`date \"+%B %e, %Y\"`" \
-V maintitle="lo kibystu pe la poros" -c /stc/style.css --mathjax=/stc/mathjax.js \
--template=tpl/template -H tpl/header.html -B tpl/before.html -A tpl/after.html
newmathjax:
wget "$(MATHJAX)" -O stc/mathjax.js
%:
mkdir -p "$@"
out/%.html: src/%.md
$(PANDOC) $(PDFLAGS) -f $(PDMARKDOWN) -t html "$<" -o "$@"
stc/mathjax.js:
wget "$(MATHJAX)" -O "$@"
all: out/ stc/mathjax.js out/index.html
cp -vr stc/ out/
clean:
@rm -rvf out/
distclean: clean
@rm -v stc/mathjax.js
.PHONY: default all clean distclean newmathjax
# kibystu
[my website](https://pcy.ulyssis.be/)
## 'static site generator' used
`pandoc` in a `Makefile`. See [`Makefile`](Makefile). License is WTFPL.
---
...
## me at various places on the Internet
* [GitLab](https://gitlab.com/PoroCYon)
* [GitHub](https://github.com/PoroCYon)
* [Pouët](https://www.pouet.net/user.php?who=99811)
* [Reddit](https://reddit.com/user/PoroCYon)
* [TCF](https://forums.terraria.org/index.php?members/.479/)
* 'PoroCYon' on a bunch of IRC networks, and 'pcy' on smaller ones
* [PGP key](/pcy.gpg.asc)
## useful stuff hosted here
* [undertale.rawr.ws mirror](/undertale)
## actual content coming soon
... soon^tm^
<p style="text-align:right">Days without lynx compatibility: 0</p>
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">
<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" />
</a>
<br />
This work is licensed under a
<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
<h3><a href="/index.html" style="text-decoration:none;color:black">lo kibystu pe la poros</a></h3>
<script src="/stc/script.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
<title>$if(title)$$title$ - $endif$$maintitle$</title>
<style type="text/css">code{white-space: pre;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$" type="text/css" />
$endfor$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
</head>
<body>
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
<div id="$idprefix$TOC">
$toc$
</div>
$endif$
$body$
<br />
$if(date)$
<p>Last update: $date$</p>
$endif$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>
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