summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/page.html.erb3
-rw-r--r--tmpl/pdf.md.erb5
2 files changed, 7 insertions, 1 deletions
diff --git a/tmpl/page.html.erb b/tmpl/page.html.erb
index 883ce9e..9d265e5 100644
--- a/tmpl/page.html.erb
+++ b/tmpl/page.html.erb
@@ -9,7 +9,7 @@
</head>
<body class="<%= html_class %>">
<header>
- <h1 class=breadcrumbs><%= Sitegen::breadcrumbs(url) %></h1>
+ <h1><a href="/">AndrewDM.me</a></h1>
<nav>
<ul>
<li><a href="/">Projects</a>
@@ -19,6 +19,7 @@
<form method="GET" action="/search.html">
<input type=search name="s" placeholder="Search" /><input type=submit value="🔍" />
</form>
+ <li><a class=feed href="/index.atom">Feed</a>
</ul>
</nav>
</header>
diff --git a/tmpl/pdf.md.erb b/tmpl/pdf.md.erb
new file mode 100644
index 0000000..2ce7327
--- /dev/null
+++ b/tmpl/pdf.md.erb
@@ -0,0 +1,5 @@
+<%= pdf_metadata.to_yaml %>
+class: pdf
+---
+
+<iframe src="<%= url.route_to(pdf_viewer_url) %>" ></iframe>