-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path_layout.eex
43 lines (41 loc) · 1.98 KB
/
_layout.eex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8"/>
<title><%= @title || "Jeff Kreeftmeijer" %></title>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="description" content="<%= @description || "Jeff Kreeftmeijer is an Elixir/Ruby programmer, writing (about) software at AppSignal in Amsterdam." %>">
<meta name="author" content="Jeff Kreeftmeijer">
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
<link rel="alternate" type="application/atom+xml" href="/feed.xml">
<style><%= File.read!("style.css") %></style>
<%= if @image do %>
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@jkreeftmeijer">
<meta name="twitter:creator" content="@jkreeftmeijer">
<meta name="twitter:title" content="<%= @title %>">
<meta name="twitter:description" content="<%= @description %>">
<meta name="twitter:image" content="<%= @image %>">
<% end %>
<%= @contents %>
<hr/>
<nav>
<%= if @path == "/" do %>
<a rel="author">Jeff Kreeftmeijer</a>
<% else %>
<a href="/" rel="author">Jeff Kreeftmeijer</a>
<% end %>
<a rel="nofollow" href="mailto:jeffkreeftmeijer@gmail.com">E-mail</a>
<a rel="me" href="https://twitter.com/jkreeftmeijer">Twitter</a>
<a rel="me" href="https://mastodon.social/@jkreeftmeijer">Mastodon</a>
<a rel="me" href="https://github.com/jeffkreeftmeijer">Github</a>
<a href="/feed.xml">RSS</a>
</nav>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-12888762-1', 'auto');
ga('send', 'pageview');
</script>
</html>