Initial import
brought over all the files from the Jekyll version, fixed categories, reformatted for different markdown processor
This commit is contained in:
13
themes/mantraish/layout/_partial/footer.pug
Normal file
13
themes/mantraish/layout/_partial/footer.pug
Normal 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')
|
||||
9
themes/mantraish/layout/_partial/head.pug
Normal file
9
themes/mantraish/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')
|
||||
16
themes/mantraish/layout/_partial/header.pug
Normal file
16
themes/mantraish/layout/_partial/header.pug
Normal 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;')
|
||||
7
themes/mantraish/layout/_partial/post-categories.pug
Normal file
7
themes/mantraish/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)
|
||||
= ', '
|
||||
8
themes/mantraish/layout/_partial/post-tags.pug
Normal file
8
themes/mantraish/layout/_partial/post-tags.pug
Normal 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)
|
||||
= ', '
|
||||
5
themes/mantraish/layout/_partial/sidebar.pug
Normal file
5
themes/mantraish/layout/_partial/sidebar.pug
Normal 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' })
|
||||
Reference in New Issue
Block a user