added tags template, fixed recent posts empty bug, style tweaks
This commit is contained in:
parent
db617cd967
commit
ea2667a22f
4 changed files with 21 additions and 7 deletions
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
content:
|
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.",
|
"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' }],
|
bucket: [{ item: 'one' }, { item: 'two' }, { item: 'three' }],
|
||||||
|
tag_list: [{ title: 'Swaggy Disgust', slug: 'swaggy-disgust', path: '2020/06' }],
|
||||||
menu: [
|
menu: [
|
||||||
{
|
{
|
||||||
title: 'This is the first page',
|
title: 'This is the first page',
|
||||||
|
|
2
src/front/assets/scripts/start.min.js
vendored
2
src/front/assets/scripts/start.min.js
vendored
|
@ -198,7 +198,7 @@ var parent = module.bundle.parent;
|
||||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||||
var hostname = "" || location.hostname;
|
var hostname = "" || location.hostname;
|
||||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
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) {
|
ws.onmessage = function (event) {
|
||||||
checkedAssets = {};
|
checkedAssets = {};
|
||||||
|
|
|
@ -6,12 +6,12 @@ block main-content
|
||||||
p !{content}
|
p !{content}
|
||||||
span Recent
|
span Recent
|
||||||
br
|
br
|
||||||
- var index = 0;
|
- if(recent_posts)
|
||||||
- for ( index; index < recent_posts.length; index++)
|
- var index = 0;
|
||||||
a(href="/"+recent_posts[index].slug)= recent_posts[index].title
|
- for ( index; index < recent_posts.length; index++)
|
||||||
label= " "+recent_posts[index].created
|
a(href="/"+recent_posts[index].slug)= recent_posts[index].title
|
||||||
br
|
label= " "+recent_posts[index].created
|
||||||
br
|
br
|
||||||
a(href='/archives') Post Archive
|
a(href='/archives') Post Archive
|
||||||
label The whole dirty.
|
label The whole dirty.
|
||||||
footer
|
footer
|
||||||
|
|
13
src/front/tags.pug
Normal file
13
src/front/tags.pug
Normal file
|
@ -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…
Reference in a new issue