Initial import

brought over all the files from the Jekyll version, fixed categories,
reformatted for different markdown processor
This commit is contained in:
Daniel J. Summers
2017-09-02 11:49:59 -05:00
parent 1dfc7a007a
commit 67dcb2f77c
116 changed files with 9001 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
footer#footer(role='contentinfo')
#footer2
#site-copyright.
A production of #[a(href='//djs-consulting.com' title='Your Web Design and Application Solution Source') DJS Consulting]
| Design Inspired by #[a(target='_blank' href='//www.cryoutcreations.eu' title='Mantra Theme by Cryout Creations') Mantra]
div(style='text-align:center;clear:both;padding-top:4px;').
#[a(href='/' title='DJS Consulting Tech Blog' rel='home') DJS Consulting Tech Blog] | Generated by
#[a(href='//hexo.io' title='Hexo') Hexo] | Served by #[a(href='//nginx.com' title='nginx') nginx] | Secured by
#[a(href='//letsencrypt.org') Let's Encrypt]
#sfooter.socials
a(target='_blank' rel='nofollow' href='/feed.xml' class='socialicons social-RSS' title='RSS'): img(alt='RSS' src='/img/social-rss.png')
a(target='_blank' rel='nofollow' href='//twitter.com/DJS_Consulting' class='socialicons social-Twitter' title='Twitter'): img(alt='Twitter' src='/img/social-twitter.png')
a(target='_blank' rel='nofollow' href='//www.facebook.com/pages/DJS-Consulting/262368048575' class='socialicons social-Facebook' title='Facebook'): img(alt='Facebook' src='/img/social-facebook.png')

View File

@@ -0,0 +1,9 @@
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible' content='IE=edge')
meta(name='viewport' content='width=device-width, initial-scale=1')
title: block title
link(rel='stylesheet' href='/style.css')
link(rel='canonical' href=config.url + url_for(page.path.replace('index.html', '')))
if is_home()
link(rel='alternate' type='application/rss+xml' title=config.title href=config.url + config.root + 'feed.xml')

View File

@@ -0,0 +1,16 @@
header#header
#masthead
#branding(role='banner')
#header-container
div(style='margin-top:0;')
h1#site-title: a(href='/' title=site.title rel='home')= config.title
#site-description= config.subtitle
#sheader.socials
a(target='_blank' rel='nofollow' href='/feed.xml' class='socialicons social-RSS' title='RSS'): img(alt='RSS' src='/img/social-rss.png')
a(target='_blank' rel='nofollow' href='//twitter.com/DJS_Consulting' class='socialicons social-Twitter' title='Twitter'): img(alt='Twitter' src='/img/social-twitter.png')
a(target='_blank' rel='nofollow' href='//www.facebook.com/pages/DJS-Consulting/262368048575' class='socialicons social-Facebook' title='Facebook'): img(alt='Facebook' src='/img/social-facebook.png')
div(style='clear:both;')
nav#access.jssafe(role='navigation')
.skip-link.screen-reader-text: a(href='#content' title='Skip to content') Skip to content
#prime_nav.menu: ul: li: a(href='/') Home
div(style='clear:both;')

View File

@@ -0,0 +1,7 @@
- var it = post || page
if it.categories && it.categories.length > 0
- var cats = it.categories.toArray()
for cat in cats
a(href=url_for(cat.path) title='Categorized under ' + cat.name rel='tag')= cat.name
if cats.indexOf(cat) < (cats.length - 1)
= ', '

View File

@@ -0,0 +1,8 @@
- var it = post || page
if it.tags && it.tags.length > 0
= 'Tagged '
- var tags = it.tags.toArray()
for tag in tags
a(href=url_for(tag.path) title='Posts tagged "' + tag.name + '"' rel='tag')= tag.name
if tags.indexOf(tag) < (tags.length - 1)
= ', '

View File

@@ -0,0 +1,5 @@
#primary.widget-area(role='complementary')
ul.xoxo
li.widget-container.widget_categories
h3.widget-title Categories
!= list_categories({ class: 'cat' })

View File

@@ -0,0 +1,13 @@
doctype html
html(lang=config.language)
include _partial/head.pug
body
#toTop
#wrapper.hfeed
include _partial/header.pug
#main
#forbottom
section#container
#content(role='main'): block content
include _partial/sidebar.pug
include _partial/footer.pug

View File

@@ -0,0 +1,65 @@
extends base
block title
if page.category
= page.category
!= ' &laquo; '
= config.title
else
if page.tag
!= '&ldquo;'
= page.tag
!= '&rdquo; Tag &laquo; '
= config.title
else
if config.subtitle
= config.title + ' | ' + config.subtitle
else
= config.title
block content
if page.tag || page.category
h1
if page.category
| Posts categorized &ldquo;
= page.category
| &rdquo;
else
| Posts tagged &ldquo;
= page.tag
| &rdquo;
hr
for post in page.posts.toArray()
article.post
header.entry-header
hgroup: h2.entry-title: a(href=url_for(post.path) title='Permalink to ' + post.title)!= post.title
.entry-meta
| &nbsp;&nbsp;
span.author.vcard
| By&nbsp;
= post.author
span.bl_sep &nbsp;|&nbsp;
span.ondate
span.entry-date.
#[= post.date.format('MMMM D, YYYY')] at #[= post.date.format('h:mm a')]
#[span.bl_sep |]
span.bl_categ
= ' '
include _partial/post-categories.pug
.entry-content!= post.content
footer.entry-meta2
span.bl_tagg
include _partial/post-tags.pug
br
#nav-below.navigation
.nav-previous
if page.prev
a(href=url_for(page.prev_link))
span.meta-nav &laquo;
| &nbsp;Newer Posts
.nav-next
if page.next
a(href=url_for(page.next_link))
| Older Posts&nbsp;
span.meta-nav &raquo;

View File

@@ -0,0 +1,35 @@
extends base
block title
= page.title
!= ' &laquo; '
= config.title
block content
.post.single.hentry
h1.entry-title= page.title
.entry-meta
| &nbsp;
span.author.vcard.
By #[= page.author] #[span.bl_sep= '| ']
span.ondate: span.entry-date.
#[= page.date.format('MMMM D, YYYY')] at #[= page.date.format('h:mm a')] #[span.bl_sep= '| ']
span.bl_categ
include _partial/post-categories.pug
.entry-content!= page.content
.entry-utility
span.bl_posted
include _partial/post-tags.pug
if page.tags && page.tags.length > 0
span.bl_sep= ' | '
span.bl_bookmark.
Bookmark the #[a(title='Permanent link to ' + page.title href=url_for(page.path) rel='bookmark') permalink].
#nav-below.navigation
.nav-previous
if page.prev
a(href=url_for(page.prev_link ? page.prev_link : page.prev.path) title='Previous Post - ' + page.prev.title).
#[span.meta-nav &laquo;] #[= page.prev.title]
.nav-next
if page.next
a(href=url_for(page.next_link ? page.next_link : page.next.path) title='Next Post - ' + page.next.title).
#[= page.next.title] #[span.meta-name &raquo;]