diff --git a/pug.config.js b/pug.config.js index 574a19a..4af9195 100644 --- a/pug.config.js +++ b/pug.config.js @@ -12,6 +12,7 @@ module.exports = { content: "The path of the righteous 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', diff --git a/src/front/assets/scripts/start.min.js b/src/front/assets/scripts/start.min.js index 01358bb..e88d59b 100644 --- a/src/front/assets/scripts/start.min.js +++ b/src/front/assets/scripts/start.min.js @@ -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 = {}; diff --git a/src/front/index.pug b/src/front/index.pug index 944b9f2..5a1f465 100644 --- a/src/front/index.pug +++ b/src/front/index.pug @@ -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 diff --git a/src/front/tags.pug b/src/front/tags.pug new file mode 100644 index 0000000..72bebd5 --- /dev/null +++ b/src/front/tags.pug @@ -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 \ No newline at end of file