Imported patches from theme.

dev
Franco Masotti 3 years ago
parent e09e7f2bca
commit 4152bfa04f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 2
      _includes/page_navigation.html
  2. 5
      _includes/post_navigation.html
  3. 6
      _layouts/default.html
  4. 23
      _layouts/post.html
  5. 2
      _pages/index.md
  6. 2
      _pages/tags.md
  7. 8
      _sass/main.scss

@ -6,7 +6,7 @@
Homepage">Home</a></li>
{% endif %}
<li>
<a href="#top-page" title="Back to top ">Top</a></span>
<a href="#top-page" title="Back to top ">Top</a>
</li>
</ul>
</div>

@ -4,7 +4,7 @@
{% if page.previous.url %}
<li>
<a href="{{ site.baseurl }}{{ page.previous.url }}.html"
title="PREV: {{ page.previous.title }}">&lt;&lt;</a>
title="previous: {{ page.previous.title }}">&lt;&lt;</a>
</li>
{% endif %}
@ -18,8 +18,7 @@ title="PREV: {{ page.previous.title }}">&lt;&lt;</a>
{% if page.next.url %}
<li>
<a href="{{ site.baseurl }}{{ page.next.url }}.html" title="NEXT:
{{page.next.title}}">&gt;&gt;</a>
<a href="{{ site.baseurl }}{{ page.next.url }}.html" title="next: {{page.next.title}}">&gt;&gt;</a>
</li>
{% endif %}

@ -2,7 +2,7 @@
layout: compress
---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html>
{% comment %}See https://www.bennadel.com/blog/822-using-body-id-as-a-back-to-top-page-anchor.htm#comments_448{% endcomment %}
<html lang="en" id="top-page">
<head>
@ -11,10 +11,6 @@ layout: compress
<body>
{% include header.html %}
{% if page.is_home or page.is_tags %}
{% include tag_list.html %}
{% endif %}
{% if page.is_post != true %}
<div id="main"></div>
{% endif %}

@ -2,6 +2,18 @@
layout: default
---
<div class="post-metadata">
<h1>{{ page.title }}</h1>
<div class="written-on">First written on {{ page.date | date: '%B %-d, %Y' }}</div>
{% assign page_date = page.date | date: '%F' %}
{% assign page_updated = page.updated | date: '%F' %}
{% if page_updated < page_date %}
<div class="updated-on">WARNING: check front matter <b>updated</b> variable</div>
{% elsif page_date != page_updated %}
<div class="updated-on">Last updated on {{ page.updated | date: '%B %-d, %Y' }}</div>
{% endif %}
</div>
{% if page.tags %}
{% assign page_tags = page.tags | sort %}
<div class="tag-list">
@ -16,17 +28,6 @@ layout: default
</ul>
</div>
{% endif %}
<div class="post-metadata">
<h1>{{ page.title }}</h1>
<div class="written-on">First written on {{ page.date | date: '%B %-d, %Y' }}</div>
{% assign page_date = page.date | date: '%F' %}
{% assign page_updated = page.updated | date: '%F' %}
{% if page_updated < page_date %}
<div class="updated-on">WARNING: check front matter <b>updated</b> variable</div>
{% elsif page_date != page_updated %}
<div class="updated-on">Last updated on {{ page.updated | date: '%B %-d, %Y' }}</div>
{% endif %}
</div>
<div class="post" id="main">
{% include anchor_headings.html html=content %}

@ -4,6 +4,8 @@ permalink: index.html
excerpt: none
---
{% include tag_list.html %}
<div class="index" markdown="1">
{% for post in site.posts %}
{% unless post.next %}

@ -4,6 +4,8 @@ title: Tags
permalink: /tags/
---
{% include tag_list.html %}
<div class="tag-posts">
{% assign site_tags = site.tags | sort %}

@ -82,7 +82,7 @@ p {
}
a:hover {
transition: 0.3s;
transition: 0.2s;
}
/* Use for abbreviations only. */
@ -261,7 +261,7 @@ ul {
.post-list-metadata:hover {
background-color: #404040;
transition: 0.3s;
transition: 0.2s;
color: #ffffff;
}
}
@ -373,12 +373,12 @@ img {
.img img:hover {
opacity: 0.5;
transition: 0.3s;
transition: 0.2s;
}
.figure:hover {
background-color: #404040;
transition: 0.3s;
transition: 0.2s;
img {
opacity: 0.75;
}

Loading…
Cancel
Save