From c7d0a6bb4de6e232f4cc7eed7166cca422fc4ba9 Mon Sep 17 00:00:00 2001 From: Augustin Lemesle <augustin.lemesle@cea.fr> Date: Mon, 11 May 2020 14:27:05 +0200 Subject: [PATCH] Update post.html --- _layouts/post.html | 128 ++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 36af906a..972719f9 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,64 +1,64 @@ ---- -layout: default ---- - - <div id="wrapper" class="hfeed"> - - {% include headers.html header=5 title=Blog %} - - <div id="container" class="mainContainer"> - <div class="defaultPage blogsPage singleBlogPage" id="content" role="main"> - <div class="contentWrap"> - <div class="breadcrumb backNavigation"> - <a href="/blog/index.html" class="backLink2"><i class="icon icon-arrow-left"></i> Back to blogs</a> - </div> - </div> - - <div class="contentWrap"> - <div class="blogsSection"> - <div class="blogsSectionContent singleBlog"> - <div class="imageBlogPage" style= - "background-image: url({% if page.image %}{{ page.image }}{% else %}/assets/img/default-blog.jpg{% endif %});"> - </div> - <article> - <div class="blogNav"> - {% if page.previous.url %} - <span class="blogNavPost left"><a class="prevPost" href="{{page.previous.url}}">← {{ page.previous.title }}</a></span> - {% endif %} - {% if page.next.url %} - <span class="blogNavPost right"><a class="nextPost" href="{{page.next.url}}">{{page.next.title }} →</a></span> - {% endif %} - </div> - - <h1 id="blogPostTitle"><span>{{ page.title }}</span></h1> - - <address class="blogPostAddress"> - {{ page.author }} - {{ page.date | date_to_string: "ordinal" }} - </address> - <div class="content"> - {{ content }} - </div> - </article> - - <address class="blogPostAddress" style="text-align: right;"> - {{ page.author }} - <br>{{ page.date | date_to_string: "ordinal" }} - </address> - <br> - <div class="blogNav"> - {% if page.previous.url %} - <span class="blogNavPost left"><a class="prevPost" href="{{page.previous.url}}">← {{ page.previous.title }}</a></span> - {% endif %} - {% if page.next.url %} - <span class="blogNavPost right"><a class="nextPost" href="{{page.next.url}}">{{ page.next.title }} →</a></span> - {% endif %} - </div> - </div> - - {% include sidebar_blog.html cats=page.categories %} - </div> - </div> - </div> - {% include footer.html %} - </div> - </div> +--- +layout: default +--- + + <div id="wrapper" class="hfeed"> + + {% include headers.html header=4 title=Blog %} + + <div id="container" class="mainContainer"> + <div class="defaultPage blogsPage singleBlogPage" id="content" role="main"> + <div class="contentWrap"> + <div class="breadcrumb backNavigation"> + <a href="/blog/index.html" class="backLink2"><i class="icon icon-arrow-left"></i> Back to blogs</a> + </div> + </div> + + <div class="contentWrap"> + <div class="blogsSection"> + <div class="blogsSectionContent singleBlog"> + <div class="imageBlogPage" style= + "background-image: url({% if page.image %}{{ page.image }}{% else %}/assets/img/default-blog.jpg{% endif %});"> + </div> + <article> + <div class="blogNav"> + {% if page.previous.url %} + <span class="blogNavPost left"><a class="prevPost" href="{{page.previous.url}}">← {{ page.previous.title }}</a></span> + {% endif %} + {% if page.next.url %} + <span class="blogNavPost right"><a class="nextPost" href="{{page.next.url}}">{{page.next.title }} →</a></span> + {% endif %} + </div> + + <h1 id="blogPostTitle"><span>{{ page.title }}</span></h1> + + <address class="blogPostAddress"> + {{ page.author }} - {{ page.date | date_to_string: "ordinal" }} + </address> + <div class="content"> + {{ content }} + </div> + </article> + + <address class="blogPostAddress" style="text-align: right;"> + {{ page.author }} + <br>{{ page.date | date_to_string: "ordinal" }} + </address> + <br> + <div class="blogNav"> + {% if page.previous.url %} + <span class="blogNavPost left"><a class="prevPost" href="{{page.previous.url}}">← {{ page.previous.title }}</a></span> + {% endif %} + {% if page.next.url %} + <span class="blogNavPost right"><a class="nextPost" href="{{page.next.url}}">{{ page.next.title }} →</a></span> + {% endif %} + </div> + </div> + + {% include sidebar_blog.html cats=page.categories %} + </div> + </div> + </div> + {% include footer.html %} + </div> + </div> -- GitLab