new theme
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "pelican-plugins"]
|
||||
path = pelican-plugins
|
||||
url = https://github.com/getpelican/pelican-plugins.git
|
1702
_nb_header.html
Normal file
@ -2,14 +2,17 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
AUTHOR = 'Marvin Steadfast'
|
||||
SITENAME = 'xsteadfastx is trying to code'
|
||||
SITENAME = 'is trying to code'
|
||||
SITEURL = 'http://code.xsteadfastx.org'
|
||||
AVATAR = '/theme/images/avatar.png'
|
||||
TIMEZONE = "Europe/Berlin"
|
||||
DESCRIPTION = "Der Versuch zu programmieren und Computer Zeugs nieder zu bloggen."
|
||||
|
||||
# can be useful in development, but set to False when you're ready to publish
|
||||
RELATIVE_URLS = True
|
||||
|
||||
GITHUB_URL = 'http://github.com/xsteadfastx/'
|
||||
TWITTER_NAME = 'xsteadfastx'
|
||||
#DISQUS_SITENAME = "xsteadfastxistryingtocode"
|
||||
ISSO_URL = 'http://comments.xsteadfastx.org'
|
||||
PDF_GENERATOR = False
|
||||
@ -35,6 +38,8 @@ STATIC_PATHS = [
|
||||
'images',
|
||||
#'extra/robots.txt',
|
||||
'extra/CNAME',
|
||||
#'code',
|
||||
#'notebooks'
|
||||
]
|
||||
|
||||
# custom page generated with a jinja2 template
|
||||
@ -47,9 +52,18 @@ PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
|
||||
# have to be in caps
|
||||
#foobar = "barbaz"
|
||||
|
||||
THEME = 'themes/xsteadfastx'
|
||||
THEME = 'themes/xsteadfastx-greg'
|
||||
OUTPUT_PATH = 'output'
|
||||
PATH = 'content'
|
||||
|
||||
ARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'
|
||||
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'
|
||||
|
||||
# plugins
|
||||
#PLUGIN_PATH = '../pelican-plugins'
|
||||
#PLUGINS = ['liquid_tags.notebook', 'liquid_tags.include_code',
|
||||
# 'liquid_tags.img', 'liquid_tags.video']
|
||||
|
||||
#CODE_DIR = 'code'
|
||||
#NOTEBOOK_DIR = 'notebooks'
|
||||
#EXTRA_HEADER = open('_nb_header.html').read().decode('utf-8')
|
||||
|
15
themes/xsteadfastx-greg/readme.md
Normal file
@ -0,0 +1,15 @@
|
||||
Notebook Simpler
|
||||
---------------------------------
|
||||
|
||||
This is [Pelican](https://github.com/getpelican) theme designed for using [IPython Notebooks](http://ipython.org/notebook.html) with Pelican's [liquid tags plugin](https://github.com/getpelican/pelican-plugins/tree/master/liquid_tags).
|
||||
|
||||
It utilizes a slightly modified version of [Skeleton](www.getskeleton.com) and [Font Awesome](http://fortawesome.github.io/Font-Awesome/).
|
||||
|
||||
### Index Screenshot
|
||||

|
||||
|
||||
### Article Screenshot
|
||||

|
||||
|
||||
### IPython Notebook Screenshot
|
||||

|
BIN
themes/xsteadfastx-greg/screenshot-article.png
Normal file
After Width: | Height: | Size: 172 KiB |
BIN
themes/xsteadfastx-greg/screenshot-index.png
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
themes/xsteadfastx-greg/screenshot-ipynb.png
Normal file
After Width: | Height: | Size: 154 KiB |
269
themes/xsteadfastx-greg/static/css/base.css
Normal file
@ -0,0 +1,269 @@
|
||||
/*
|
||||
* Skeleton V1.2
|
||||
* Copyright 2011, Dave Gamache
|
||||
* www.getskeleton.com
|
||||
* Free to use under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* 6/20/2012
|
||||
*/
|
||||
|
||||
|
||||
/* Table of Content
|
||||
==================================================
|
||||
#Reset & Basics
|
||||
#Basic Styles
|
||||
#Site Styles
|
||||
#Typography
|
||||
#Links
|
||||
#Lists
|
||||
#Images
|
||||
#Buttons
|
||||
#Forms
|
||||
#Misc */
|
||||
|
||||
|
||||
/* #Reset & Basics (Inspired by E. Meyers)
|
||||
================================================== */
|
||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline; }
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
|
||||
display: block; }
|
||||
body {
|
||||
line-height: 1; }
|
||||
ol, ul {
|
||||
list-style: none; }
|
||||
blockquote, q {
|
||||
quotes: none; }
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none; }
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0; }
|
||||
|
||||
|
||||
/* #Basic Styles
|
||||
================================================== */
|
||||
body {
|
||||
background: #fff;
|
||||
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: #444;
|
||||
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
|
||||
/* #Typography
|
||||
================================================== */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: #181818;
|
||||
font-family: "Georgia", "Times New Roman", serif;
|
||||
font-weight: normal; }
|
||||
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
|
||||
h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;}
|
||||
h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; }
|
||||
h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
|
||||
h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
|
||||
h5 { font-size: 17px; line-height: 24px; }
|
||||
h6 { font-size: 14px; line-height: 21px; }
|
||||
.subheader { color: #777; }
|
||||
|
||||
p { margin: 0 0 20px 0; }
|
||||
p img { margin: 0; }
|
||||
p.lead { font-size: 21px; line-height: 27px; color: #777; }
|
||||
|
||||
em { font-style: italic; }
|
||||
strong { font-weight: bold; color: #333; }
|
||||
small { font-size: 80%; }
|
||||
|
||||
/* Blockquotes */
|
||||
blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
|
||||
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
|
||||
blockquote cite { display: block; font-size: 12px; color: #555; }
|
||||
blockquote cite:before { content: "\2014 \0020"; }
|
||||
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
|
||||
|
||||
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
|
||||
|
||||
|
||||
/* #Links
|
||||
================================================== */
|
||||
a, a:visited { color: #333; text-decoration: underline; outline: 0; }
|
||||
a:hover, a:focus { color: #000; }
|
||||
p a, p a:visited { line-height: inherit; }
|
||||
|
||||
|
||||
/* #Lists
|
||||
================================================== */
|
||||
ul, ol { margin-bottom: 20px; }
|
||||
ul { list-style: none outside; }
|
||||
ol { list-style: decimal; }
|
||||
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
|
||||
ul.square { list-style: square outside; }
|
||||
ul.circle { list-style: circle outside; }
|
||||
ul.disc { list-style: disc outside; }
|
||||
ul ul, ul ol,
|
||||
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
|
||||
ul ul li, ul ol li,
|
||||
ol ol li, ol ul li { margin-bottom: 6px; }
|
||||
li { line-height: 18px; margin-bottom: 12px; }
|
||||
ul.large li { line-height: 21px; }
|
||||
li p { line-height: 21px; }
|
||||
|
||||
/* #Images
|
||||
================================================== */
|
||||
|
||||
img.scale-with-grid {
|
||||
max-width: 100%;
|
||||
height: auto; }
|
||||
|
||||
|
||||
/* #Buttons
|
||||
================================================== */
|
||||
|
||||
.button,
|
||||
button,
|
||||
input[type="submit"],
|
||||
input[type="reset"],
|
||||
input[type="button"] {
|
||||
background: #eee; /* Old browsers */
|
||||
background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
|
||||
background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
|
||||
background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
|
||||
background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
|
||||
background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
|
||||
border: 1px solid #aaa;
|
||||
border-top: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
color: #444;
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px rgba(255, 255, 255, .75);
|
||||
cursor: pointer;
|
||||
margin-bottom: 20px;
|
||||
line-height: normal;
|
||||
padding: 8px 10px;
|
||||
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
|
||||
|
||||
.button:hover,
|
||||
button:hover,
|
||||
input[type="submit"]:hover,
|
||||
input[type="reset"]:hover,
|
||||
input[type="button"]:hover {
|
||||
color: #222;
|
||||
background: #ddd; /* Old browsers */
|
||||
background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
|
||||
background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
|
||||
background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
|
||||
background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
|
||||
background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
|
||||
border: 1px solid #888;
|
||||
border-top: 1px solid #aaa;
|
||||
border-left: 1px solid #aaa; }
|
||||
|
||||
.button:active,
|
||||
button:active,
|
||||
input[type="submit"]:active,
|
||||
input[type="reset"]:active,
|
||||
input[type="button"]:active {
|
||||
border: 1px solid #666;
|
||||
background: #ccc; /* Old browsers */
|
||||
background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
|
||||
background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
|
||||
background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
|
||||
background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
|
||||
background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
|
||||
|
||||
.button.full-width,
|
||||
button.full-width,
|
||||
input[type="submit"].full-width,
|
||||
input[type="reset"].full-width,
|
||||
input[type="button"].full-width {
|
||||
width: 100%;
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
text-align: center; }
|
||||
|
||||
/* Fix for odd Mozilla border & padding issues */
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
/* #Forms
|
||||
================================================== */
|
||||
|
||||
form {
|
||||
margin-bottom: 20px; }
|
||||
fieldset {
|
||||
margin-bottom: 20px; }
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="email"],
|
||||
textarea,
|
||||
select {
|
||||
border: 1px solid #ccc;
|
||||
padding: 6px 4px;
|
||||
outline: none;
|
||||
-moz-border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
color: #777;
|
||||
margin: 0;
|
||||
width: 210px;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
background: #fff; }
|
||||
select {
|
||||
padding: 0; }
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="email"]:focus,
|
||||
textarea:focus {
|
||||
border: 1px solid #aaa;
|
||||
color: #444;
|
||||
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
|
||||
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
|
||||
box-shadow: 0 0 3px rgba(0,0,0,.2); }
|
||||
textarea {
|
||||
min-height: 60px; }
|
||||
label,
|
||||
legend {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 13px; }
|
||||
select {
|
||||
width: 220px; }
|
||||
input[type="checkbox"] {
|
||||
display: inline; }
|
||||
label span,
|
||||
legend span {
|
||||
font-weight: normal;
|
||||
font-size: 13px;
|
||||
color: #444; }
|
||||
|
||||
/* #Misc
|
||||
================================================== */
|
||||
.remove-bottom { margin-bottom: 0 !important; }
|
||||
.half-bottom { margin-bottom: 10px !important; }
|
||||
.add-bottom { margin-bottom: 20px !important; }
|
||||
|
||||
|
58
themes/xsteadfastx-greg/static/css/layout.css
Normal file
@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Skeleton V1.2
|
||||
* Copyright 2011, Dave Gamache
|
||||
* www.getskeleton.com
|
||||
* Free to use under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* 6/20/2012
|
||||
*/
|
||||
|
||||
/* Table of Content
|
||||
==================================================
|
||||
#Site Styles
|
||||
#Page Styles
|
||||
#Media Queries
|
||||
#Font-Face */
|
||||
|
||||
/* #Site Styles
|
||||
================================================== */
|
||||
|
||||
/* #Page Styles
|
||||
================================================== */
|
||||
|
||||
/* #Media Queries
|
||||
================================================== */
|
||||
|
||||
/* Smaller than standard 960 (devices and browsers) */
|
||||
@media only screen and (max-width: 959px) {}
|
||||
|
||||
/* Tablet Portrait size to standard 960 (devices and browsers) */
|
||||
@media only screen and (min-width: 768px) and (max-width: 959px) {}
|
||||
|
||||
/* All Mobile Sizes (devices and browser) */
|
||||
@media only screen and (max-width: 767px) {}
|
||||
|
||||
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
|
||||
@media only screen and (min-width: 480px) and (max-width: 767px) {}
|
||||
|
||||
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
|
||||
@media only screen and (max-width: 479px) {}
|
||||
|
||||
|
||||
/* #Font-Face
|
||||
================================================== */
|
||||
/* This is the proper syntax for an @font-face file
|
||||
Just create a "fonts" folder at the root,
|
||||
copy your FontName into code below and remove
|
||||
comment brackets */
|
||||
|
||||
/* @font-face {
|
||||
font-family: 'FontName';
|
||||
src: url('../fonts/FontName.eot');
|
||||
src: url('../fonts/FontName.eot?iefix') format('eot'),
|
||||
url('../fonts/FontName.woff') format('woff'),
|
||||
url('../fonts/FontName.ttf') format('truetype'),
|
||||
url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal; }
|
||||
*/
|
65
themes/xsteadfastx-greg/static/css/pygment.css
Normal file
@ -0,0 +1,65 @@
|
||||
/*
|
||||
Generated with Pygments
|
||||
$ pygmentize -S monokai -f html -a .highlight > theme/notebook-simpler/static/css/pygment.css
|
||||
*/
|
||||
|
||||
.highlight .hll { background-color: #49483e }
|
||||
.highlight { background: #272822; color: #f8f8f2 }
|
||||
.highlight .c { color: #75715e } /* Comment */
|
||||
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
|
||||
.highlight .k { color: #66d9ef } /* Keyword */
|
||||
.highlight .l { color: #ae81ff } /* Literal */
|
||||
.highlight .n { color: #f8f8f2 } /* Name */
|
||||
.highlight .o { color: #f92672 } /* Operator */
|
||||
.highlight .p { color: #f8f8f2 } /* Punctuation */
|
||||
.highlight .cm { color: #75715e } /* Comment.Multiline */
|
||||
.highlight .cp { color: #75715e } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #75715e } /* Comment.Single */
|
||||
.highlight .cs { color: #75715e } /* Comment.Special */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
|
||||
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #66d9ef } /* Keyword.Type */
|
||||
.highlight .ld { color: #e6db74 } /* Literal.Date */
|
||||
.highlight .m { color: #ae81ff } /* Literal.Number */
|
||||
.highlight .s { color: #e6db74 } /* Literal.String */
|
||||
.highlight .na { color: #a6e22e } /* Name.Attribute */
|
||||
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
|
||||
.highlight .nc { color: #a6e22e } /* Name.Class */
|
||||
.highlight .no { color: #66d9ef } /* Name.Constant */
|
||||
.highlight .nd { color: #a6e22e } /* Name.Decorator */
|
||||
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
|
||||
.highlight .ne { color: #a6e22e } /* Name.Exception */
|
||||
.highlight .nf { color: #a6e22e } /* Name.Function */
|
||||
.highlight .nl { color: #f8f8f2 } /* Name.Label */
|
||||
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
|
||||
.highlight .nx { color: #a6e22e } /* Name.Other */
|
||||
.highlight .py { color: #f8f8f2 } /* Name.Property */
|
||||
.highlight .nt { color: #f92672 } /* Name.Tag */
|
||||
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
|
||||
.highlight .ow { color: #f92672 } /* Operator.Word */
|
||||
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
|
||||
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
|
||||
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
|
185
themes/xsteadfastx-greg/static/css/simply.css
Normal file
@ -0,0 +1,185 @@
|
||||
/*
|
||||
* Greg Reda
|
||||
* Styling based on the Skeleton documention (http://www.getskeleton.com/)
|
||||
* 11/25/2012
|
||||
* Use it however you want
|
||||
*/
|
||||
|
||||
/*
|
||||
TODO:
|
||||
- Clean this crap up.
|
||||
*/
|
||||
|
||||
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
|
||||
@import url(http://fonts.googleapis.com/css?family=Droid+Sans);
|
||||
@import url(http://fonts.googleapis.com/css?family=Source+Code+Pro);
|
||||
|
||||
{margin: 0; padding: 0;}
|
||||
html, body {
|
||||
height: 100%;
|
||||
font-family: "Droid Sans", sans-serif;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 { font-family: "Droid Serif", serif; }
|
||||
#content h3, h4 { margin-top: 20px; }
|
||||
|
||||
div.container {
|
||||
padding-top: 50px;
|
||||
min-height: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
/*margin-bottom: -50px;*/
|
||||
/*position: relative;*/
|
||||
}
|
||||
footer {
|
||||
float: right !important;
|
||||
/*height: 50px;*/
|
||||
/*position: relative;*/
|
||||
text-align: center;
|
||||
/*clear: both;*/
|
||||
}
|
||||
|
||||
section#content {
|
||||
margin-top: 30px 0;
|
||||
float: right;
|
||||
}
|
||||
#content img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
|
||||
/*SIDEBAR*/
|
||||
#sidebar {
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
font-family: "Droid Serif", serif;
|
||||
}
|
||||
|
||||
#sidebar li {
|
||||
margin: 0px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#logo {
|
||||
letter-spacing: -1px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#avatar {
|
||||
/*border-radius: 10px;*/
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 10px;
|
||||
display: block;
|
||||
width: 140px;
|
||||
border: 0px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
blockquote {
|
||||
padding: 0px 20px 0px 20px !important;
|
||||
border-left: 2px solid #ddd !important;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Styling
|
||||
*/
|
||||
|
||||
/*Links*/
|
||||
a, a:visited {
|
||||
text-decoration: none !important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a.icon, a:visited.icon, a:active.icon {
|
||||
font-size: 17px;
|
||||
color: #555;
|
||||
font-weight: bold;
|
||||
}
|
||||
a:hover.icon, a:focus.icon { color: #222; }
|
||||
|
||||
/*Horizontal Rulers*/
|
||||
hr.large {
|
||||
border: none;
|
||||
height: 2px;
|
||||
background-color: #ebebeb;
|
||||
margin: 10px 10px;
|
||||
}
|
||||
|
||||
hr.small {
|
||||
margin: 5px 0px;
|
||||
}
|
||||
|
||||
|
||||
/*Article Design*/
|
||||
.article-title {
|
||||
clear: both;
|
||||
float: left;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
.article-date {
|
||||
font-style: italic;
|
||||
float: right;
|
||||
margin: 8px 10px;
|
||||
}
|
||||
.article-summary { clear: both; }
|
||||
.article-content { clear: both; overflow: hidden; }
|
||||
.article-content img { border: 1px solid #222; }
|
||||
|
||||
.article-content p {
|
||||
margin: 12px 0px 12px 0px !important;
|
||||
font-family: 'Droid Sans', sans-serif;
|
||||
font-weight: 400;
|
||||
line-height: 1.4em;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.caption { font-size: 12px !important; }
|
||||
|
||||
.back-to-home {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
/*Code Formatting*/
|
||||
code, pre.ipynb {
|
||||
font-family: "Source Code Pro", monospace !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
.highlight, pre {
|
||||
font-family: "Source Code Pro", monospace;
|
||||
font-size: 12px;
|
||||
background-color: #272822;
|
||||
line-height: 125%;
|
||||
padding: 5px 10px 5px 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
||||
/*Mobile*/
|
||||
@media only screen and (max-width: 768px) {
|
||||
#sidebar {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
/*#sidebar img { width: 140px; margin-right: 10px; }*/
|
||||
|
||||
#content {
|
||||
float: none;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
#content img {
|
||||
max-width: 85%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
242
themes/xsteadfastx-greg/static/css/skeleton.css
vendored
Normal file
@ -0,0 +1,242 @@
|
||||
/*
|
||||
* Skeleton V1.2
|
||||
* Copyright 2011, Dave Gamache
|
||||
* www.getskeleton.com
|
||||
* Free to use under the MIT license.
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* 6/20/2012
|
||||
*/
|
||||
|
||||
|
||||
/* Table of Contents
|
||||
==================================================
|
||||
#Base 960 Grid
|
||||
#Tablet (Portrait)
|
||||
#Mobile (Portrait)
|
||||
#Mobile (Landscape)
|
||||
#Clearing */
|
||||
|
||||
|
||||
|
||||
/* #Base 960 Grid
|
||||
================================================== */
|
||||
.row { margin-bottom: 20px; }
|
||||
|
||||
/* Nested Column Classes */
|
||||
.column.alpha, .columns.alpha { margin-left: 0; }
|
||||
.column.omega, .columns.omega { margin-right: 0; }
|
||||
|
||||
/* #Flexible column widths
|
||||
================================================== */
|
||||
.container { width: 75%; } /*whatever you want - can even be fixed if you prefer*/
|
||||
.container .column,
|
||||
.container .columns { margin-left: 0.78125%; margin-right: 0.78125%; }
|
||||
|
||||
.container .one.column,
|
||||
.container .one.columns { width: 4.6875%; }
|
||||
.container .two.columns { width: 10.9375%; }
|
||||
.container .three.columns { width: 17.1875%; }
|
||||
.container .four.columns { width: 23.4375%; }
|
||||
.container .five.columns { width: 29.6875%; }
|
||||
.container .six.columns { width: 35.9375%; }
|
||||
.container .seven.columns { width: 42.1875%; }
|
||||
.container .eight.columns { width: 48.4375%; }
|
||||
.container .nine.columns { width: 54.6875%; }
|
||||
.container .ten.columns { width: 60.9375%; }
|
||||
.container .eleven.columns { width: 67.1875%; }
|
||||
.container .twelve.columns { width: 73.4375%; }
|
||||
.container .thirteen.columns { width: 79.6875%; }
|
||||
.container .fourteen.columns { width: 85.9375%; }
|
||||
.container .fifteen.columns { width: 92.1875%; }
|
||||
.container .sixteen.columns { width: 98.4375%; }
|
||||
|
||||
.container .one-third.column { width: 31.7708%; }
|
||||
.container .two-thirds.column { width: 65.1041%; }
|
||||
|
||||
/* Offsets */
|
||||
.container .offset-by-one { padding-left: 6.25%; }
|
||||
.container .offset-by-two { padding-left: 12.5%; }
|
||||
.container .offset-by-three { padding-left: 18.75%; }
|
||||
.container .offset-by-four { padding-left: 25%; }
|
||||
.container .offset-by-five { padding-left: 31.25%; }
|
||||
.container .offset-by-six { padding-left: 37.5%; }
|
||||
.container .offset-by-seven { padding-left: 43.75%; }
|
||||
.container .offset-by-eight { padding-left: 50%; }
|
||||
.container .offset-by-nine { padding-left: 56.25%; }
|
||||
.container .offset-by-ten { padding-left: 62.5%; }
|
||||
.container .offset-by-eleven { padding-left: 68.75%; }
|
||||
.container .offset-by-twelve { padding-left: 75%; }
|
||||
.container .offset-by-thirteen { padding-left: 81.25%; }
|
||||
.container .offset-by-fourteen { padding-left: 87.5%; }
|
||||
.container .offset-by-fifteen { padding-left: 93.75%; }
|
||||
|
||||
|
||||
/* #Tablet (Portrait)
|
||||
================================================== */
|
||||
|
||||
/* Note: Design for a width of 768px */
|
||||
|
||||
@media only screen and (min-width: 768px) and (max-width: 959px) {
|
||||
.container { width: 768px; }
|
||||
.container .column,
|
||||
.container .columns { margin-left: 10px; margin-right: 10px; }
|
||||
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
|
||||
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
|
||||
.alpha.omega { margin-left: 0; margin-right: 0; }
|
||||
|
||||
.container .one.column,
|
||||
.container .one.columns { width: 28px; }
|
||||
.container .two.columns { width: 76px; }
|
||||
.container .three.columns { width: 124px; }
|
||||
.container .four.columns { width: 172px; }
|
||||
.container .five.columns { width: 220px; }
|
||||
.container .six.columns { width: 268px; }
|
||||
.container .seven.columns { width: 316px; }
|
||||
.container .eight.columns { width: 364px; }
|
||||
.container .nine.columns { width: 412px; }
|
||||
.container .ten.columns { width: 460px; }
|
||||
.container .eleven.columns { width: 508px; }
|
||||
.container .twelve.columns { width: 556px; }
|
||||
.container .thirteen.columns { width: 604px; }
|
||||
.container .fourteen.columns { width: 652px; }
|
||||
.container .fifteen.columns { width: 700px; }
|
||||
.container .sixteen.columns { width: 748px; }
|
||||
|
||||
.container .one-third.column { width: 236px; }
|
||||
.container .two-thirds.column { width: 492px; }
|
||||
|
||||
/* Offsets */
|
||||
.container .offset-by-one { padding-left: 48px; }
|
||||
.container .offset-by-two { padding-left: 96px; }
|
||||
.container .offset-by-three { padding-left: 144px; }
|
||||
.container .offset-by-four { padding-left: 192px; }
|
||||
.container .offset-by-five { padding-left: 240px; }
|
||||
.container .offset-by-six { padding-left: 288px; }
|
||||
.container .offset-by-seven { padding-left: 336px; }
|
||||
.container .offset-by-eight { padding-left: 384px; }
|
||||
.container .offset-by-nine { padding-left: 432px; }
|
||||
.container .offset-by-ten { padding-left: 480px; }
|
||||
.container .offset-by-eleven { padding-left: 528px; }
|
||||
.container .offset-by-twelve { padding-left: 576px; }
|
||||
.container .offset-by-thirteen { padding-left: 624px; }
|
||||
.container .offset-by-fourteen { padding-left: 672px; }
|
||||
.container .offset-by-fifteen { padding-left: 720px; }
|
||||
}
|
||||
|
||||
|
||||
/* #Mobile (Portrait)
|
||||
================================================== */
|
||||
|
||||
/* Note: Design for a width of 320px */
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.container { width: 300px; }
|
||||
.container .columns,
|
||||
.container .column { margin: 0; }
|
||||
|
||||
.container .one.column,
|
||||
.container .one.columns,
|
||||
.container .two.columns,
|
||||
.container .three.columns,
|
||||
.container .four.columns,
|
||||
.container .five.columns,
|
||||
.container .six.columns,
|
||||
.container .seven.columns,
|
||||
.container .eight.columns,
|
||||
.container .nine.columns,
|
||||
.container .ten.columns,
|
||||
.container .eleven.columns,
|
||||
.container .twelve.columns,
|
||||
.container .thirteen.columns,
|
||||
.container .fourteen.columns,
|
||||
.container .fifteen.columns,
|
||||
.container .sixteen.columns,
|
||||
.container .one-third.column,
|
||||
.container .two-thirds.column { width: 300px; }
|
||||
|
||||
/* Offsets */
|
||||
.container .offset-by-one,
|
||||
.container .offset-by-two,
|
||||
.container .offset-by-three,
|
||||
.container .offset-by-four,
|
||||
.container .offset-by-five,
|
||||
.container .offset-by-six,
|
||||
.container .offset-by-seven,
|
||||
.container .offset-by-eight,
|
||||
.container .offset-by-nine,
|
||||
.container .offset-by-ten,
|
||||
.container .offset-by-eleven,
|
||||
.container .offset-by-twelve,
|
||||
.container .offset-by-thirteen,
|
||||
.container .offset-by-fourteen,
|
||||
.container .offset-by-fifteen { padding-left: 0; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* #Mobile (Landscape)
|
||||
================================================== */
|
||||
|
||||
/* Note: Design for a width of 480px */
|
||||
|
||||
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
||||
.container { width: 420px; }
|
||||
.container .columns,
|
||||
.container .column { margin: 0; }
|
||||
|
||||
.container .one.column,
|
||||
.container .one.columns,
|
||||
.container .two.columns,
|
||||
.container .three.columns,
|
||||
.container .four.columns,
|
||||
.container .five.columns,
|
||||
.container .six.columns,
|
||||
.container .seven.columns,
|
||||
.container .eight.columns,
|
||||
.container .nine.columns,
|
||||
.container .ten.columns,
|
||||
.container .eleven.columns,
|
||||
.container .twelve.columns,
|
||||
.container .thirteen.columns,
|
||||
.container .fourteen.columns,
|
||||
.container .fifteen.columns,
|
||||
.container .sixteen.columns,
|
||||
.container .one-third.column,
|
||||
.container .two-thirds.column { width: 420px; }
|
||||
}
|
||||
|
||||
|
||||
/* #Clearing
|
||||
================================================== */
|
||||
|
||||
/* Self Clearing Goodness */
|
||||
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
||||
|
||||
/* Use clearfix class on parent to clear nested columns,
|
||||
or wrap each row of columns in a <div class="row"> */
|
||||
.clearfix:before,
|
||||
.clearfix:after,
|
||||
.row:before,
|
||||
.row:after {
|
||||
content: '\0020';
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
width: 0;
|
||||
height: 0; }
|
||||
.row:after,
|
||||
.clearfix:after {
|
||||
clear: both; }
|
||||
.row,
|
||||
.clearfix {
|
||||
zoom: 1; }
|
||||
|
||||
/* You can also use a <br class="clear" /> to clear columns */
|
||||
.clear {
|
||||
clear: both;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
After Width: | Height: | Size: 9.9 KiB |
BIN
themes/xsteadfastx-greg/static/images/apple-touch-icon-72x72.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
themes/xsteadfastx-greg/static/images/apple-touch-icon.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
themes/xsteadfastx-greg/static/images/avatar.png
Normal file
After Width: | Height: | Size: 43 KiB |
BIN
themes/xsteadfastx-greg/static/images/favicon.ico
Normal file
After Width: | Height: | Size: 1.4 KiB |
16
themes/xsteadfastx-greg/templates/analytics.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% if GOOGLE_ANALYTICS %}
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
|
||||
_gaq.push(['_setDomainName', '{{ DOMAIN }}']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
</script>
|
||||
{% endif %}
|
67
themes/xsteadfastx-greg/templates/article.html
Normal file
@ -0,0 +1,67 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ article.title }} | {{ SITENAME }}{% endblock %}
|
||||
{% block metadesc %}{{ article.description|e }}{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
<!-- Extra Header for IPython Notebooks
|
||||
================================================== -->
|
||||
{% if EXTRA_HEADER %}
|
||||
{{ EXTRA_HEADER }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block twittercards %}
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:site" content="@{{ TWITTER_NAME }}">
|
||||
<meta name="twitter:creator" content="@{{ TWITTER_NAME }}">
|
||||
<meta name="twitter:domain" content="{{ DOMAIN }}">
|
||||
<meta name="twitter:image" content="{{ SITEURL }}{{ AVATAR }}">
|
||||
<meta name="twitter:title" content="{{ article.title }}">
|
||||
<meta name="twitter:description" content="{{ article.description|e }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3 class="article-title"><a href="/{{ article.url }}" title="Permalink to {{ article.title }}">{{article.title}}</a></h3>
|
||||
<h6 class="article-date">{{ article.locale_date }}</h6>
|
||||
<div class="article-content">
|
||||
{{ article.content }}
|
||||
</div>
|
||||
{{ ARTICLE_FOOTER }}
|
||||
|
||||
<a href="https://twitter.com/{{ TWITTER_NAME }}" class="twitter-follow-button" data-show-count="false">Follow @{{ TWITTER_NAME }}</a>
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ TWITTER_NAME }}">Tweet</a>
|
||||
<div class="back-to-home"><a href="/">← Back to Home</a></div>
|
||||
<hr class="large">
|
||||
|
||||
<!-- DISQUS -->
|
||||
{% if DISQUS_SITENAME %}
|
||||
<div id="disqus_thread"></div>
|
||||
<script type="text/javascript">
|
||||
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||
var disqus_shortname = 'gregreda'; // required: replace example with your forum shortname
|
||||
|
||||
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||
})();
|
||||
</script>
|
||||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||
{% endif %}
|
||||
|
||||
<!-- ISSO -->
|
||||
{% if ISSO_URL %}
|
||||
<script data-isso="{{ ISSO_URL }}"
|
||||
data-isso-css="true"
|
||||
data-isso-lang="en"
|
||||
data-isso-reply-to-self="false"
|
||||
src="{{ ISSO_URL }}/js/embed.min.js">
|
||||
</script>
|
||||
<section id="isso-thread"></section>
|
||||
{% endif %}
|
||||
<!-- twitter.js -->
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
||||
{% endblock %}
|
127
themes/xsteadfastx-greg/templates/base.html
Normal file
@ -0,0 +1,127 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
|
||||
<head>
|
||||
|
||||
{% block header %}{% endblock %}
|
||||
|
||||
<!-- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8">
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<meta name="google-site-verification" content="AgIAQN_qsniIQWOq659Bnhzx-LZts2FdgP1kLgtQg-k" />
|
||||
<meta name="description" content="{% block metadesc %}{% endblock %}">
|
||||
<meta name="author" content="Greg Reda">
|
||||
|
||||
<!-- Feeds
|
||||
================================================== -->
|
||||
{% if FEED_ALL_ATOM %}
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" title="{{ SITENAME }} Full Atom Feed">
|
||||
{% endif %}
|
||||
|
||||
<!-- Facebook Open Graph
|
||||
================================================== -->
|
||||
<meta property="og:title" content="{{ TITLE }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="{{ SITEURL }}">
|
||||
<meta property="og:image" content="{{ AVATAR }}">
|
||||
<meta property="og:description" content="{{ DESCRIPTION }}">
|
||||
|
||||
<!-- Twitter Cards
|
||||
================================================== -->
|
||||
{% if TWITTER_CARDS %}
|
||||
{% block twittercards %}{% endblock %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Mobile Specific Metas
|
||||
================================================== -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<!-- CSS
|
||||
================================================== -->
|
||||
<link rel="stylesheet" href="/theme/css/base.css">
|
||||
<link rel="stylesheet" href="/theme/css/skeleton.css">
|
||||
<link rel="stylesheet" href="/theme/css/layout.css">
|
||||
<link rel="stylesheet" href="/theme/css/simply.css">
|
||||
<link rel="stylesheet" href="/theme/css/pygment.css">
|
||||
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- JavaScript
|
||||
=================================================== -->
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
||||
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="/theme/images/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="/theme/images/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/theme/images/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/theme/images/apple-touch-icon-114x114.png">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Primary Page Layout
|
||||
================================================== -->
|
||||
<div class="container">
|
||||
<section id="sidebar" class="two columns">
|
||||
<a href="/"><img id="avatar" src="{{ AVATAR }}"></img></a>
|
||||
<h3 id="logo"><a href="/">{{ SITENAME }}</a></h3>
|
||||
<hr class="small" />
|
||||
<div id="social">
|
||||
{% if TWITTER_NAME %}
|
||||
<a class="icon" href="http://twitter.com/{{ TWITTER_NAME }}" title="Twitter"><i class="icon-twitter"></i></a>
|
||||
{% endif %}
|
||||
{% if GITHUB_URL %}
|
||||
<a class="icon" href="{{ GITHUB_URL }}" title="GitHub"><i class="icon-github"></i></a>
|
||||
{% endif %}
|
||||
<a class="icon" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" title="Subscribe (Atom)"><i class="icon-rss"></i></a>
|
||||
</div> <!-- social -->
|
||||
<!-- <hr class="small" />
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/work">Work</a></li>
|
||||
</ul>
|
||||
</div> -->
|
||||
</section> <!-- sidebar -->
|
||||
|
||||
<section id="content" class="thirteen columns offset-by-one">
|
||||
{% block content %}{% endblock %}
|
||||
</section>
|
||||
|
||||
<footer class="thirteen columns offset-by-one">
|
||||
<!-- <hr class="small"> -->
|
||||
<p>Generated with <a href="http://getpelican.com">Pelican</a>. Layout done with <a href="http://getskeleton.com">Skeleton</a>. Icons are <a href="http://fortawesome.github.com/Font-Awesome/">Font Awesome</a>. Hosted on <a href="http://github.com">GitHub</a>.</p>
|
||||
</footer>
|
||||
|
||||
</div><!-- container -->
|
||||
|
||||
<!-- Google Analytics -->
|
||||
{% include "analytics.html" %}
|
||||
|
||||
<script type="text/javascript">
|
||||
$("a").on('click', function(e) {
|
||||
var url = $(this).attr("href");
|
||||
if (e.currentTarget.host != window.location.host) {
|
||||
_gaq.push(['_trackEvent', 'Outbound Links', e.currentTarget.host, url, 0]);
|
||||
if (e.metaKey || e.ctrlKey) {
|
||||
var newtab = true;
|
||||
}
|
||||
if (!newtab) {
|
||||
e.preventDefault();
|
||||
setTimeout('document.location = "' + url + '"', 100);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- End Document
|
||||
================================================== -->
|
||||
</body>
|
||||
</html>
|
14
themes/xsteadfastx-greg/templates/index.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Home | {{ SITENAME }}{% endblock %}
|
||||
{% block metadesc %}{{ DESCRIPTION }}{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% for article in articles %}
|
||||
{% if article.status != 'draft' %}
|
||||
<h3 class="article-title"><a href="{{ article.url }}" title="{{ article.title }}">{{ article.title }}</a></h3>
|
||||
<h6 class="article-date">{{ article.locale_date }}</h6>
|
||||
<hr class="large">
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|