m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-04 10:40:07 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-11-04 10:40:07 +0100
commitcbf4925d9feba8cacd9a826cc9649a3b4773a8b3 (patch)
tree6147e900ab86362da194fa34b868aa1708349c4c
parentbd15cc49aa7ccc306ecf56a2f9bece420b5475f1 (diff)
Add post footer
-rw-r--r--src/post-template.html.erb4
-rw-r--r--src/style.css8
2 files changed, 12 insertions, 0 deletions
diff --git a/src/post-template.html.erb b/src/post-template.html.erb
index 033df48..302e3b6 100644
--- a/src/post-template.html.erb
+++ b/src/post-template.html.erb
@@ -1,2 +1,6 @@
<h2 style='display: inline'><%= post['title'] %></h2> (<%= format_date post['date'] %>)
<%= post['content'] %>
+<p class='post-footer'>
+If you have any questions or comments about this post or site in general, feel
+free to <a href="mailto:marcin.j.chrzanowski@gmail.com">email me</a>.
+</p>
diff --git a/src/style.css b/src/style.css
index 70fc10b..14a951e 100644
--- a/src/style.css
+++ b/src/style.css
@@ -41,6 +41,14 @@ ul.links {
margin-bottom: 0px;
}
+.post-footer {
+ font-size: 16px;
+ color: #444;
+ margin-left: auto;
+ margin-right: auto;
+ width: 80%;
+}
+
/* note stuff */
.note {
position: relative;