aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/default.html')
-rw-r--r--_layouts/default.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644
index 0000000..8db38f6
--- /dev/null
+++ b/_layouts/default.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <title>{% if page.title %}{{ site.title }} - {% t page.title %}{% else %}{{ site.title }}{% endif %}</title>
+
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
+
+ <!-- We have the same CSS file for all languages -->
+ <link href="{{ "/stylesheets/main.css" | prepend: site.baseurl_root }}" rel="stylesheet" type="text/css" />
+
+ <!-- Empty favicon -->
+ <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" />
+
+ <!-- Feeds -->
+ <link href="/feed.xml" type="application/rss+xml" rel="alternate" title="Entrades al blog en català" />
+ <link href="/feed.en.xml" type="application/rss+xml" rel="alternate" title="Blog posts in english" />
+</head>
+<body>
+ {% include header.html %}
+
+ <main class="page-content" aria-label="Content">
+ <div class="wrapper">
+ {{ content }}
+ </div>
+ </main >
+
+ {% include footer.html %}
+</body>
+</html>