kpmy 9 лет назад
Родитель
Сommit
b3774e6823
2 измененных файлов с 7 добавлено и 9 удалено
  1. 1 2
      _config.yml
  2. 6 7
      _layouts/post.html

+ 1 - 2
_config.yml

@@ -2,13 +2,12 @@
 #
 # Use of `relative_permalinks` ensures post links from the index work properly.
 permalink:           pretty
-relative_permalinks: true
 
 # Setup
 title:               Блог
 tagline:             типа
 url:                 http://b.ocsf.in
-paginate:            3
+paginate:            5
 baseurl:             ""
 
 # Assets

+ 6 - 7
_layouts/post.html

@@ -20,18 +20,17 @@ layout: default
     })();
 </script>
 <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
+
 {% if site.related_posts != empty %}
 <aside class="related">
-  <h2>Related Posts</h2>
+  <h3>Related posts</h3>
   <ul class="related-posts">
     {% for post in site.related_posts limit:3 %}
       <li>
-        <h3>
-          <a href="{{ site.baseurl }}{{ post.url }}">
-            {{ post.title }}
-            <small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
-          </a>
-        </h3>
+        <a href="{{ site.baseurl }}{{ post.url }}">
+          {{ post.title }}
+          <small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
+        </a>
       </li>
     {% endfor %}
   </ul>