l0bsterssg

node.js static responsive blog post generator
Log | Files | Refs | README

commit eb0e17699cde13ceb663438fc735ee7436d0c602
parent 196e434b84a28484a9cc467d9882e55c74ed9446
Author: underd0g1 <hide4@comcast.net>
Date:   Wed,  7 Oct 2020 23:50:09 -0400

added content markers

Diffstat:
Msrc/index.js | 7+------
Msrc/styles.css | 1+
Msrc/template.html | 5+++--
3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/index.js b/src/index.js @@ -1,9 +1,4 @@ -// import fs from 'fs' -// import glob from 'glob' -// import matter from 'gray-matter' -// import marked from 'marked' -// import mkdirp from 'mkdirp' -// import path from 'path' + const path = require('path'); const mkdirp = require('mkdirp'); diff --git a/src/styles.css b/src/styles.css @@ -4,6 +4,7 @@ html { } body { margin-bottom: 60px; /* Margin bottom by footer height */ + background: #bd305c; } .footer { position: absolute; diff --git a/src/template.html b/src/template.html @@ -23,7 +23,8 @@ <!-- Begin page content --> <main role="main" class="container"> - <h1 class="mt-5">p0st 1</h1> + <h1 class="mt-5"><!-- TITLE --></h1> + <!-- PUBLISH_DATE --> <p class="lead">this is going to be the post content! hopefully this will scale properly on mobile as well as desktop sites. .</p> <p class = "lead">todo:<br/> <ol> @@ -32,7 +33,7 @@ <li> ensure that all the code snippits are highlighted</li> <li> add .md content placeholders for insertation</li> </ol> - +<!-- CONTENT --> </p> <p>Tags: #code #2f30 #l0bster </p>