diff options
author | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-12-12 22:21:09 +0100 |
---|---|---|
committer | Marcin Chrzanowski <m@m-chrzan.xyz> | 2021-12-12 22:21:09 +0100 |
commit | 8d202330d225ef44008f1f2cd7bb18901721889f (patch) | |
tree | 5d35d2bf9b90c8c69a16cd0db3384b33fab34e82 | |
parent | 7a8f0e7cbdb52b7414491aa486a4335d37a1d24f (diff) |
Move contact info to separate page, add XMPP
-rwxr-xr-x | scripts/build.rb | 2 | ||||
-rw-r--r-- | src/contact.html.erb | 22 | ||||
-rw-r--r-- | src/index.html.erb | 3 |
3 files changed, 25 insertions, 2 deletions
diff --git a/scripts/build.rb b/scripts/build.rb index 5063eb6..4ce84d2 100755 --- a/scripts/build.rb +++ b/scripts/build.rb @@ -32,6 +32,7 @@ P.add 'key', 'key.asc' P.add 'style', 'style.css' P.add 'index', 'index.html' +P.add 'contact', 'contact.html' P.add 'blog', 'blog.html' P.add 'projects', 'projects.html' P.add 'donate', 'donate.html' @@ -49,6 +50,7 @@ end write_statics statics write_templated_erb 'index.html.erb', title: 'Martin Chrzanowski.' write_templated_erb 'projects.html.erb', title: 'Projects.' +write_templated_erb 'contact.html.erb', title: 'Contact.' write_blog_archive write_templated_file 'donate.html', title: 'Donations.' diff --git a/src/contact.html.erb b/src/contact.html.erb new file mode 100644 index 0000000..b741a59 --- /dev/null +++ b/src/contact.html.erb @@ -0,0 +1,22 @@ +<p> +<table style='table-layout: fixed; width: 100%;'> + <tr> + <td style='width: 14em;'>Email</td> + <td> + <a href="mailto:m@m-chrzan.xyz"><code>m@m-chrzan.xyz</code></a> + </td> + </tr> + <tr> + <td style='width: 14em;'>PGP key</td> + <td> + <a href="<%= path_to 'key' %>"><code>4073 3DD6 B370 C1C5 1DE0 C1A8 2991 A902 D020 9F38</code></a> + </td> + </tr> + <tr> + <td style='width: 14em;'>XMPP</td> + <td> + <a href="xmpp:m@m-chrzan.xyz"><code>m@m-chrzan.xyz</code></a> + </td> + </tr> +</table> +</p> diff --git a/src/index.html.erb b/src/index.html.erb index 1dcf222..ba3235a 100644 --- a/src/index.html.erb +++ b/src/index.html.erb @@ -18,8 +18,7 @@ <hr /> <ul class='links'> - <li><a href='mailto:<%= Email %>'>Email</a></li> - <li><a href='<%= path_to 'key' %>'>PGP</a></li> + <li><a href='<%= path_to 'contact' %>'>Contact</a></li> <li><a href='https://git.m-chrzan.xyz'>Code</a></li> <li><a href='<%= path_to 'donate' %>'>Donate</a></li> </ul> |