From 5f0eaf8a808873b6a173de366c158afbba3775a2 Mon Sep 17 00:00:00 2001 From: agusmakmun <summon.agus@gmail.com> Date: Tue, 19 Apr 2016 01:32:19 +0700 Subject: [PATCH] Update Style 4 --- _layouts/default.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index f3e57fe..f3af606 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -25,21 +25,19 @@ <div class="container"> <div class="col-sm-3"> - <h1>{{ site.name }}</h1> - <img id="about" src="{{ site.baseurl }}/img/avatar.jpg" height="75px" width="75px" /><br /> - + <img id="about" src="{{ site.baseurl }}/img/avatar.jpg" height="75px" width="75px" /> + <h1 class="author-name">{{ site.name }}</h1> + {% if site.about %} + <div id="about"> + {{ site.about }} + </div> + {% endif %} + <hr /> <strong>Navigation</strong><br /> <a href="{{ site.baseurl }}/">home</a> <br /> {% for i in site.urls %} - <a class="about" href="{{ i.url }}">{{ i.text }}</a><br /> + » <a class="about" href="{{ i.url }}">{{ i.text }}</a><br /> {% endfor %} - - {% if site.about %} - <div id="about"> - <strong>About</strong><br /> - {{ site.about }} - </div> - {% endif %} </div> <div class="col-sm-8 col-offset-1"> -- GitLab