-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
435cdd1
commit 2334e93
Showing
5 changed files
with
214 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$" $if(dir)$ dir="$dir$" $endif$> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="generator" content="pandoc" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> | ||
$for(author-meta)$ | ||
<meta name="author" content="$author-meta$" /> | ||
$endfor$ | ||
$if(date-meta)$ | ||
<meta name="dcterms.date" content="$date-meta$" /> | ||
$endif$ | ||
$if(keywords)$ | ||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> | ||
$endif$ | ||
$if(description-meta)$ | ||
<meta name="description" content="$description-meta$" /> | ||
$endif$ | ||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> | ||
<style> | ||
$styles.html()$ | ||
</style> | ||
$for(css)$ | ||
<link rel="stylesheet" href="$css$" /> | ||
$endfor$ | ||
$for(header-includes)$ | ||
$header-includes$ | ||
$endfor$ | ||
$if(math)$ | ||
$if(mathjax)$ | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> | ||
$endif$ | ||
$math$ | ||
$endif$ | ||
<!--[if lt IE 9]> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script> | ||
<![endif]--> | ||
<script> | ||
addEventListener('DOMContentLoaded', () => { | ||
const fullpath = location.origin + location.pathname | ||
|
||
document.querySelectorAll('nav a').forEach((el) => { | ||
const url = new URL(el.href) | ||
if (url.origin + url.pathname === fullpath) { | ||
el.classList.add('active') | ||
} | ||
}) | ||
}) | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<main> | ||
<header id="header"> | ||
<div class="content"> | ||
Rasmus Kirk | ||
</div> | ||
</header> | ||
<nav> | ||
<div class="content"> | ||
<a href="./index.html">Home</a> | ||
<a href="./options.html">Options</a> | ||
<a href="https://github.com/rasmus-kirk/nixarr">Github</a> | ||
</div> | ||
</nav> | ||
<div class="content content-wrap"> | ||
$for(include-before)$ | ||
$include-before$ | ||
$endfor$ | ||
$if(title)$ | ||
<header id="title-block-header"> | ||
<h1 class="title">$title$</h1> | ||
$if(subtitle)$ | ||
<p class="subtitle">$subtitle$</p> | ||
$endif$ | ||
$for(author)$ | ||
<p class="author">$author$</p> | ||
$endfor$ | ||
$if(abstract)$ | ||
<div class="abstract"> | ||
<div class="abstract-title">$abstract-title$</div> | ||
$abstract$ | ||
</div> | ||
$endif$ | ||
</header> | ||
$endif$ | ||
$if(toc)$ | ||
<nav id="$idprefix$TOC" role="doc-toc"> | ||
$if(toc-title)$ | ||
<h2 id="$idprefix$toc-title">$toc-title$</h2> | ||
$endif$ | ||
$table-of-contents$ | ||
</nav> | ||
$endif$ | ||
$body$ | ||
$for(include-after)$ | ||
$include-after$ | ||
$endfor$ | ||
</div> | ||
<footer> | ||
<div class="content"> | ||
<div> | ||
Rasmus Kirk Jakobsen | ||
</div> | ||
$if(date)$ | ||
<div>$date$</div> | ||
$endif$ | ||
</div> | ||
</footer> | ||
</main> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters