From 982f0739a56850919165227428f091af8e6927b2 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 10 Mar 2017 19:24:21 +0100 Subject: Missing comman in meta viewport setting. --- blog/_includes/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blog/_includes') diff --git a/blog/_includes/head.html b/blog/_includes/head.html index e345ae5..eac4a09 100644 --- a/blog/_includes/head.html +++ b/blog/_includes/head.html @@ -1,6 +1,6 @@ - + {{ site.title }} -- cgit v1.2.3 From c8ba2958ba509b98896100db2c190ace48d103c8 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen <haraldei@anduin.net> Date: Fri, 10 Mar 2017 19:24:57 +0100 Subject: Use svg logo for header. This adapts itself brilliantly to the size of the display. --- blog/_includes/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blog/_includes') diff --git a/blog/_includes/header.html b/blog/_includes/header.html index 6813c67..0372333 100644 --- a/blog/_includes/header.html +++ b/blog/_includes/header.html @@ -1,6 +1,6 @@ <header id="header"> <div id="logo"> - {% image header.png alt="Norsk Urskog" %} + {% image "logos/norsk-urskog-web.svg" alt:"Norsk Urskog" width:100% height:100% %} <p>Norwegian Underground Metal Sampler</p> </div> <div id="banner-pos-1"> -- cgit v1.2.3 From 0cb9284d51b16d192f42e2d2a4c12a2911668b2e Mon Sep 17 00:00:00 2001 From: Harald Eilertsen <haraldei@anduin.net> Date: Fri, 10 Mar 2017 19:26:11 +0100 Subject: First attempt at responsive design for site. - Droppped sidebar from all pages. - Wrapped post images in a div for easier styling. - Drop the Inferno banner on too small displays. Most stuff works quite well for a first attempt, mthinks. --- blog/_includes/menubar.html | 22 ++++++++++++---------- blog/_includes/post-excerpt.html | 8 +++----- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'blog/_includes') diff --git a/blog/_includes/menubar.html b/blog/_includes/menubar.html index 04be761..3076326 100644 --- a/blog/_includes/menubar.html +++ b/blog/_includes/menubar.html @@ -1,10 +1,12 @@ -<nav class="site-nav"> - <a class="page-link" href="{{ site.baseurl | append: "/" }}">{% t titles.home %}</a> - <a class="page-link" href="{{ site.baseurl_root | append: "/registration" }}">{% t titles.registration %}</a> - {% for page in site.pages %} - {% if page.title and (!page.hidden == true) %} - <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{% page_title page.title %}</a> - {% endif %} - {% endfor %} - {% include language-switcher.html %} -</nav> +<div id="page-menu"> + <nav class="site-nav"> + <a class="page-link" href="{{ site.baseurl | append: "/" }}">{% t titles.home %}</a> + <a class="page-link" href="{{ site.baseurl_root | append: "/registration" }}">{% t titles.registration %}</a> + {% for page in site.pages %} + {% if page.title and (!page.hidden == true) %} + <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{% page_title page.title %}</a> + {% endif %} + {% endfor %} + {% include language-switcher.html %} + </nav> +</div> diff --git a/blog/_includes/post-excerpt.html b/blog/_includes/post-excerpt.html index e87b12b..b3616d8 100644 --- a/blog/_includes/post-excerpt.html +++ b/blog/_includes/post-excerpt.html @@ -1,13 +1,11 @@ {% assign post = include.post %} -<article class="post"> +<article class="post-excerpt"> {% include post-header.html post = post %} <section class="post-body"> {% if post.page-image %} - {% if include.sidebar %} + <div class="post-image"> {{ post.page-image | img: "magick:resize:290x" }} - {% else %} - {{ post.page-image | img: "magick:resize:290x class:right" }} - {% endif %} + </div> {% endif %} {{ post.excerpt }} <p><a href="{{ post.url | prepend: site.baseurl }}">{% t global.read_more %}</a></p> -- cgit v1.2.3