Redesigned blog to mirror business site
- DJS Consulting becomes Bit Badger Solutions - DJS Consulting Tech Blog becomes The Bit Badger Blog
This commit is contained in:
9
themes/bit-badger/layout/_partial/footer.pug
Normal file
9
themes/bit-badger/layout/_partial/footer.pug
Normal file
@@ -0,0 +1,9 @@
|
||||
footer
|
||||
span.
|
||||
A production of #[a(href='https://bitbadger.solutions' title='Bit Badger Solutions') Bit Badger Solutions]
|
||||
span.
|
||||
Generated by #[a(href='//hexo.io' title='Hexo') Hexo]
|
||||
span.
|
||||
Served by #[a(href='//www.nginx.com' title='nginx') nginx]
|
||||
span.
|
||||
Secured by #[a(href='https://letsencrypt.org' title!='Let’s Encrypt') Let’s Encrypt]
|
||||
9
themes/bit-badger/layout/_partial/head.pug
Normal file
9
themes/bit-badger/layout/_partial/head.pug
Normal 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')
|
||||
17
themes/bit-badger/layout/_partial/header.pug
Normal file
17
themes/bit-badger/layout/_partial/header.pug
Normal file
@@ -0,0 +1,17 @@
|
||||
header
|
||||
.header-logo
|
||||
a(href='/')
|
||||
img(src='/img/bitbadger.png'
|
||||
alt='A cartoon badger looking at a computer screen, with his paw on a mouse'
|
||||
title='Bit Badger Solutions')
|
||||
.header-title: a(href='/') The Bit Badger Blog
|
||||
.header-spacer
|
||||
.header-social
|
||||
a(href='/feed.xml' title='Subscribe to The Bit Badger Blog via RSS')
|
||||
img(src='/img/rss.png' alt='RSS')
|
||||
|
|
||||
a(href='https://twitter.com/DJS_Consulting' title='DJS_Consulting on Twitter')
|
||||
img(src='/img/twitter.png' alt='Twitter' )
|
||||
|
|
||||
a(href='https://www.facebook.com/pages/DJS-Consulting/262368048575' title='DJS Consulting on Facebook')
|
||||
img(src='/img/facebook.png' alt='Facebook')
|
||||
7
themes/bit-badger/layout/_partial/post-categories.pug
Normal file
7
themes/bit-badger/layout/_partial/post-categories.pug
Normal 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)
|
||||
= ', '
|
||||
9
themes/bit-badger/layout/_partial/post-tags.pug
Normal file
9
themes/bit-badger/layout/_partial/post-tags.pug
Normal file
@@ -0,0 +1,9 @@
|
||||
- var it = post || page
|
||||
if it.tags && it.tags.length > 0
|
||||
small
|
||||
= 'Tagged '
|
||||
- var tags = it.tags.toArray().sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)
|
||||
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)
|
||||
= ', '
|
||||
7
themes/bit-badger/layout/_partial/sidebar.pug
Normal file
7
themes/bit-badger/layout/_partial/sidebar.pug
Normal file
@@ -0,0 +1,7 @@
|
||||
.blog-sidebar
|
||||
div
|
||||
.sidebar-head Linux Resources
|
||||
ul: li: a(href='/linux') Browse Resources
|
||||
div
|
||||
.sidebar-head Categories
|
||||
!= list_categories({ class: 'cat' })
|
||||
Reference in New Issue
Block a user