m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.rb1
-rw-r--r--src/index.html.erb2
-rw-r--r--src/post-template.html.erb2
3 files changed, 3 insertions, 2 deletions
diff --git a/lib/util.rb b/lib/util.rb
index 48ac7e1..34e3686 100644
--- a/lib/util.rb
+++ b/lib/util.rb
@@ -2,6 +2,7 @@ require './lib/pather'
SourceDir = 'src'
BuildDir = 'public'
+Email = 'm@m-chrzan.xyz'
def src filename
File.join SourceDir, filename
diff --git a/src/index.html.erb b/src/index.html.erb
index 5517b36..122d6c2 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -17,7 +17,7 @@
<hr />
<ul class='links'>
- <li><a href='mailto:marcin.j.chrzanowski@gmail.com'>Email</a></li>
+ <li><a href='mailto:<%= Email %>'>Email</a></li>
<li><a href=<%= path_to 'key'%>>PGP</a></li>
<li>
<a href='https://git.m-chrzan.xyz'>Code</a>
diff --git a/src/post-template.html.erb b/src/post-template.html.erb
index 302e3b6..20b95be 100644
--- a/src/post-template.html.erb
+++ b/src/post-template.html.erb
@@ -2,5 +2,5 @@
<%= 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>.
+free to <a href="mailto:<%= Email %>">email me</a>.
</p>