New design for reals

This commit is contained in:
Rico Sta. Cruz 2017-08-29 02:26:33 +08:00
parent 6b144e6c33
commit df73df7669
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 6 additions and 8 deletions

View File

@ -11,12 +11,10 @@ html_class: home
<div class='pages-list'> <div class='pages-list'>
{% for page in site.pages %} {% for page in site.pages %}
{% if page.category == category %} {% if page.category == category %}
{% if page.type == article %} <a href="{{base}}{{ page.url }}">
<a href="{{base}}{{ page.url | remove: '.html' }}"> <span class='title'>{{ page.title }}</span>
<span class='title'>{{ page.title }}</span> <span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
<span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span> </a>
</a>
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>

View File

@ -6,8 +6,8 @@
position: absolute; position: absolute;
right: 32px; right: 32px;
top: 80px; top: 80px;
width: 130px; width: 130px;
text-align: right;
.carbon-img { .carbon-img {
margin-bottom: 16px; margin-bottom: 16px;

View File

@ -1,6 +1,6 @@
--- ---
full_title: "Cheatsheets — for web development and more" full_title: "Cheatsheets — for web development and more"
description: "A collection of cheatsheets I've written." description: "A collection of cheatsheets I've written."
layout: home layout: 2017/home
type: website type: website
--- ---