added tags template, fixed recent posts empty bug, style tweaks

develop
Are0h 4 years ago
parent db617cd967
commit ea2667a22f

@ -12,6 +12,7 @@ module.exports = {
content:
"The path of the <a href='#'>righteous</a> man is beset on ALL sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy My brothers. And you will know My name is the Lord when I lay My vengeance upon thee.",
bucket: [{ item: 'one' }, { item: 'two' }, { item: 'three' }],
tag_list: [{ title: 'Swaggy Disgust', slug: 'swaggy-disgust', path: '2020/06' }],
menu: [
{
title: 'This is the first page',

@ -198,7 +198,7 @@ var parent = module.bundle.parent;
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
var hostname = "" || location.hostname;
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
var ws = new WebSocket(protocol + '://' + hostname + ':' + "53487" + '/');
var ws = new WebSocket(protocol + '://' + hostname + ':' + "55628" + '/');
ws.onmessage = function (event) {
checkedAssets = {};

@ -6,12 +6,12 @@ block main-content
p !{content}
span Recent
br
- var index = 0;
- for ( index; index < recent_posts.length; index++)
a(href="/"+recent_posts[index].slug)= recent_posts[index].title
label= " "+recent_posts[index].created
br
br
- if(recent_posts)
- var index = 0;
- for ( index; index < recent_posts.length; index++)
a(href="/"+recent_posts[index].slug)= recent_posts[index].title
label= " "+recent_posts[index].created
br
a(href='/archives') Post Archive
label The whole dirty.
footer

@ -0,0 +1,13 @@
extends frame
block main-content
section
article
.page
- var index = 0;
- for ( index; index < tag_list.length; index++)
a(href='/'+tag_list[index].path+'/'+tag_list[index].slug) !{tag_list[index].title}
br
footer
| © 2020 Fipamo by PV
Loading…
Cancel
Save