summaryrefslogtreecommitdiffstats
path: root/blog/_layouts
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-09-22 23:11:51 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-09-22 23:12:43 +0200
commitf1da7165ef03b20bdb044eb287d85cbea02703a1 (patch)
tree8fdd85efa9e605b9d7419d211a2f725ce51ac382 /blog/_layouts
parent60c59155547896df1e50e0cab3e0328ad0f964a8 (diff)
downloadnorsk-urskog-main-f1da7165ef03b20bdb044eb287d85cbea02703a1.tar.gz
norsk-urskog-main-f1da7165ef03b20bdb044eb287d85cbea02703a1.tar.bz2
norsk-urskog-main-f1da7165ef03b20bdb044eb287d85cbea02703a1.zip
Redesign front page.
Diffstat (limited to 'blog/_layouts')
-rw-r--r--blog/_layouts/default.html7
-rw-r--r--blog/_layouts/homepage.html28
2 files changed, 27 insertions, 8 deletions
diff --git a/blog/_layouts/default.html b/blog/_layouts/default.html
index 676adb1..2daf763 100644
--- a/blog/_layouts/default.html
+++ b/blog/_layouts/default.html
@@ -11,11 +11,8 @@
{{ content }}
</section>
<section id="side-body">
- <h2>{% t global.our_sponsors %}</h2>
- <section id="sponsor-pos-1">
- {% include sponsors.html %}
- </section>
-
+ {% include news.html %}
+
{% if site.links %}
<section id="links">
<h2>{% t home.links %}</h2>
diff --git a/blog/_layouts/homepage.html b/blog/_layouts/homepage.html
index 0d6905d..a5e15a0 100644
--- a/blog/_layouts/homepage.html
+++ b/blog/_layouts/homepage.html
@@ -1,3 +1,25 @@
----
-layout: default
----
+<!DOCTYPE html>
+<html>
+ {% include head.html %}
+ <body>
+ <div id="page-container">
+ {% include header.html %}
+
+ <section id="page">
+ <section id="body-content">
+ {{ content }}
+
+ {% include news.html %}
+
+ {% if site.links %}
+ <section id="links">
+ <h2>{% t home.links %}</h2>
+ </section>
+ {% endif %}
+ </section>
+ </section>
+
+ {% include footer.html %}
+ </div>
+ </body>
+</html>