Browse Source

Update blog style templates and configuration.

master
Andrew Senetar 6 years ago
parent
commit
d2fcf71162

+ 13
- 6
_config.yml View File

@@ -1,7 +1,7 @@
# General
safe: false
timezone: America/Indiana/Indianapolis
lsi: false
url: http://blog.voltaicideas.net

# Excludes
exclude: ['Readme.md', 'config.rb', 'scss', 'Gemfile', 'Gemfile.lock', 'bower_components', 'node_modules', 'Gruntfile.js', 'package.json', 'bower.json']
@@ -9,19 +9,26 @@ exclude: ['Readme.md', 'config.rb', 'scss', 'Gemfile', 'Gemfile.lock', 'bower_co
# Code highlighting
pygments: true

# links and paginate
# links
permalink: date
paginate: 20
paginate_path: 'page:num'

# Markdown
markdown: redcarpet
redcarpet:
smart: true
#extensions: ['no_intra_emphasis', 'tables', 'disable_indented_code_blocks', 'strikethrough', 'superscript', 'underline']
extensions: ['no_intra_emphasis', 'tables', 'disable_indented_code_blocks', 'strikethrough', 'superscript', 'underline']

# Extra Variables
owner:
name: Andrew Senetar
email: [email protected]
title: VoltaicIdeas
title: [email protected]

# Disqus
disqus_shortname: voltaicideas

# Google Analytics
ga:
code: UA-42346765-1
domain: voltaicideas.net


+ 6
- 0
_data/menu.yml View File

@@ -0,0 +1,6 @@
- name: Tags
link: /tags/
- name: Archive
link: /archive/
- name: About
link: /about/

+ 21
- 0
_includes/disqus.html View File

@@ -0,0 +1,21 @@
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}'; // 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 = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();

/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</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>

+ 16
- 1
_includes/footer.html View File

@@ -4,5 +4,20 @@
</div>
</div>
<script src="{{ site.url }}/assets/js/app-concat.js"></script>
{% if site.ga %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', '{{ site.ga.code }}', '{{ site.ga.domain }}');
ga('send', 'pageview');

</script>
{% endif %}
{% if page.comments %}
{% include disqus.html %}
{% endif %}
</body>
</html>
</html>

+ 11
- 7
_includes/header.html View File

@@ -24,11 +24,6 @@
<!-- Modernizr -->
<script src="{{ site.url }}/assets/js/modernizr.js"></script>
<!-- Capture a header image -->
{% if page.feature or site.feature %}
{% capture feature %}{% if page.feature %}{{ page.feature }}{% else %}{{ site.feature }}{% endif %}{% endcapture %}
{% unless feature.url contains 'http://' or feature.url contains 'https://' %}{% capture feature %}{{ site.url }}/images/{{ feature.url }}{% endcapture %}{% endunless %}
{% endif %}
</head>
<body>
<div class="contain-to-grid">
@@ -43,7 +38,15 @@
<section class="top-bar-section">
<!-- Left Nav Section -->
<ul class="left">
<li><a href="{{ site.url }}/About/">About</a></li>
{% for item in site.data.menu %}
<li><a href="
{% if item.link contains 'http' %}
{{ item.link }}
{% else %}
{{ site.url }}{{ item.link }}
{% endif %}
">{{ item.name }}</a></li>
{% endfor %}
</ul>
<!-- Right Nav Section -->
@@ -59,4 +62,5 @@
</ul>
</section>
</nav>
</div>
</div>


+ 0
- 8
_layouts/default.html View File

@@ -1,8 +0,0 @@
{% include header.html %}
<div class="row">
<div class="small-12 columns">
<h1>{{ page.title }}</h1>
{{ content }}
</div>
</div>
{% include footer.html %}

+ 12
- 0
_layouts/list.html View File

@@ -0,0 +1,12 @@
{% include header.html %}
<div class="row">
<div class="small-12 columns">
<h1 class="pageHeader">{{ page.title }}</h1>
</div>
</div>
<div class="row" itemprop=mainContentOfPage">
<div class="small-12 columns">
{{ content }}
</div>
</div>
{% include footer.html %}

+ 30
- 0
_layouts/page.html View File

@@ -0,0 +1,30 @@
{% include header.html %}
{% if page.feature %}
<div class="row">
<div class="small-12 columns imageHeader">
<img src="{{page.feature.url }}">
{% if page.feature.credit %}
<div class="imageCredit">
Image Source: <a href="{{ page.feature.creditLink }}">{{ page.feature.credit }}</a>
</div>
{% endif %}
</div>
</div>
{% endif %}

<div class="row" itemprop=mainContentOfPage">
<article class="small-12 columns">
<header>
<h1>{{ page.title }}</h1>
</header>
<div class="content">
{{ content }}
</div>
<footer>
{% if page.modified %}
<span class="meta">Last modified: <time datetime="{{ page.modified | date_to_xmlschema }}">{{ page.modified | date_to_string }}</time></span>
{% endif %}
</footer>
</article>
</div>
{% include footer.html %}

+ 51
- 2
_layouts/post.html View File

@@ -1,3 +1,52 @@
{% include header.html %}
{{ content }}
{% include footer.html %}
{% if page.feature %}
<div class="row">
<div class="small-12 columns imageHeader">
<img src="{{ page.feature.url }}">
{% if page.feature.credit %}
<div class="imageCredit">
Image Source: <a href="{{ page.feature.creditLink }}">{{ page.feature.credit }}</a>
</div>
{% endif %}
</div>
</div>
{% endif %}
<div class="row" itemprop="mainContentOfPage" itemscope itemtype="http://schema.org/Blog">
<article class="small-12 columns" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<header>
<h1 itemprop="name">
<a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a>
</h1>
<h5>
<time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time>
</h5>
</header>
<div itemprop="articleBody" class="content">
{{ content }}
</div>
<footer>
<span class="meta">
<a itemprop="url" href="{{ site.url }}{{ page.url }}">{{ page.title }}</a>
<em>Published:</em> <time itemprop="dateCreated" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time> {% if page.modified %}(<em>Revised:</em> <time itemprop="dateModified" datetime="{{ page.modified | date_to_xmlschema }}">{{ page.modified | date_to_string }}</time>){% endif %} <em>By:</em>
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">
<a itemprop="url" href="{{ site.url }}/about/" title="About {{ site.owner.name }}" >{{ site.owner.name }}</a>
</span>
</span>
</span>
<div class="text-center">
{% for tag in page.tags %}
<a class="tag" href="{{ site.url }}/tags/#{{ tag | cgi_escape }}" title="Pages tagged {{ tag }}">{{ tag }}</a></li>
{% endfor %}
</div>
</footer>
</article>
</div>
{% if site.disqus_shortname and page.comments %}
<div class="row">
<div class="small-12 columns">
<div id="disqus_thread"></div>
</div>
</div>
{% endif %}
{% include footer.html %}

+ 23
- 0
archive.html View File

@@ -0,0 +1,23 @@
---
layout: list
title: Post Archive
description: 'All Posts from [email protected]'
permalink: /archive/
---
{% for post in site.posts %}
<article class="excerpt">
<header>
<h3><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h3>
<h6 class="subheader"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> <em>By</em> {{ site.owner.name }} <em>Tagged:</em>
{% for tag in post.tags %}
<a class="tag" title="Posts tagged {{ tag }}" href="{{ site.url }}/tags/#{{ tag | cgi_escape }}">{{ tag }}</a>
{% endfor %}
</h6>
</header>
<div class="content">
{{ post.excerpt }}
</div>
<footer>
<a href="{{ site.url }}{{ post.url }}">Continue reading ...</a></footer>
</article>
{% endfor %}

+ 120
- 100
assets/css/app.css View File

@@ -4598,7 +4598,6 @@ th.hide-for-touch {
.highlight {
font-size: 0.875rem;
padding: 0;
background-color: #fbfbfb;
font-family: 'Source Code Pro', 'Consolas', Monaco, monospace;
overflow: auto;
margin-bottom: 1rem; }
@@ -4606,40 +4605,15 @@ th.hide-for-touch {
tab-size: 4;
white-space: pre;
font-family: inherit;
counter-reset: line-numbering;
border: solid 1px #d9d9d9;
background-color: #f4f4f4;
border-radius: 0;
background: white;
padding: 0.1875rem;
padding-left: 0.3125rem;
line-height: 23px;
overflow-x: auto;
word-break: inherit;
word-wrap: inherit; }
.highlight pre a::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 1em;
/* space after numbers */
width: 25px;
text-align: right;
opacity: 0.7;
display: inline-block;
color: #aaaaaa;
background: #eeeeee;
margin-right: 16px;
padding: 2px 10px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.highlight pre a:first-of-type::before {
padding-top: 10px; }
.highlight pre a:last-of-type::before {
padding-bottom: 10px; }
.highlight pre a:only-of-type::before {
padding: 10px; }
word-break: inherit; }
.highlight pre code.text {
color: #555555; }

/* Pygments Code Highlight */
.highlight .hll {
@@ -4894,110 +4868,156 @@ a [class*="icon-"]:before {
display: inline; }

/* Icon Font List */
.icon-mail:before {
.icon-bookmark:before {
content: '\e80a'; }

/* '' */
.icon-youtube:before {
content: '\e804'; }

/* '' */
.icon-ok:before {
content: '\e814'; }

/* '' */
.icon-cancel:before {
content: '\e813'; }
content: '\e800'; }

/* '' */
.icon-link-ext:before {
/* '' */
.icon-code:before {
content: '\e80b'; }

/* '' */
.icon-bookmark:before {
content: '\e80c'; }

/* '' */
.icon-bookmark-empty:before {
content: '\e80d'; }

/* '' */
.icon-code:before {
content: '\e80e'; }

/* '' */
.icon-attention-alt:before {
content: '\e811'; }

/* '' */
.icon-attention:before {
content: '\e810'; }

/* '' */
.icon-attention-circled:before {
content: '\e80f'; }

/* '' */
.icon-mic:before {
content: '\e815'; }

/* '' */
.icon-videocam:before {
content: '\e812'; }

/* '' */
.icon-tasks:before {
content: '\e816'; }

/* '' */
.icon-dollar:before {
.icon-up-big:before {
content: '\e808'; }

/* '' */
.icon-spinner:before {
.icon-bitbucket:before {
content: '\e807'; }

/* '' */
.icon-terminal:before {
.icon-css3:before {
content: '\e806'; }

/* '' */
.icon-bookmark-empty:before {
content: '\e809'; }

/* '' */
.icon-bitbucket:before {
content: '\e805'; }

/* '' */
.icon-github:before {
content: '\e800'; }

/* '' */
.icon-gplus:before {
content: '\e801'; }
content: '\e804'; }

/* '' */
/* '' */
.icon-html5:before {
content: '\e806'; }

/* '' */
.icon-linkedin:before {
content: '\e803'; }

/* '' */
.icon-twitter:before {
.icon-linkedin:before {
content: '\e802'; }

/* '' */
.icon-fork:before {
content: '\e817'; }
.icon-twitter:before {
content: '\e801'; }

/* '' */
.icon-github:before {
content: '\e805'; }

/* '' */
/* '' */
#footer {
color: #b4b4b4; }
#footer a {
color: #713a37; }

#disqus_thread {
border-top: 1px solid #e7e7e7;
border-bottom: 1px solid #e7e7e7;
padding-top: 7px;
margin-bottom: 7px;
margin-top: 10px; }

.social a i {
display: none; }

.contain-to-grid {
border-bottom: 1px solid #e5e5e5; }

.imageHeader {
padding: 0; }
.imageHeader .imageCredit {
font-weight: normal;
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
text-align: center;
text-decoration: none;
line-height: 1;
white-space: nowrap;
display: inline-block;
position: relative;
margin-bottom: inherit;
padding: 7px 16px;
font-size: 0.7rem;
background-color: rgba(0, 0, 0, 0.5);
color: white;
-webkit-border-radius: 0px;
border-radius: 0px;
position: absolute;
color: #e6e6e6;
right: 0;
bottom: 0; }
.imageHeader .imageCredit a {
color: white; }

.pageHeader {
border-bottom: 1px solid #e7e7e7; }

.content {
padding-left: 0.5rem;
padding-right: 0.5rem; }
.content a {
text-decoration: underline; }

.tag {
text-align: center;
text-decoration: none;
display: inline-block;
padding: 0.25rem 0.75rem;
font-size: 0.6875rem;
color: #8a231e;
background-color: #e7e7e7;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px; }
.tag:hover {
background-color: #cecece; }
.tag span {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
display: inline-block;
margin-left: 5px;
background-color: #f4f4f4;
padding: 2px 5px; }

article header {
border-bottom: 1px dashed #e7e7e7; }
article .content {
border-bottom: 1px dashed #e7e7e7; }
article footer {
color: #b4b4b4;
margin-bottom: 7px; }
article footer a {
color: #713a37; }
article footer .meta {
display: block;
margin-top: 7px;
margin-bottom: 7px; }
article.excerpt {
border-bottom: 1px solid #e7e7e7;
margin-bottom: 7px;
padding-bottom: 7px; }
article.excerpt header {
border-bottom: none; }
article.excerpt .content {
border-bottom: none; }
article.excerpt footer {
margin-bottom: 0; }

@media only screen and (min-width:40.063em) {
.social a {
padding: 0 9px !important; }

BIN
assets/fonts/voltaicideas.eot View File


+ 12
- 24
assets/fonts/voltaicideas.svg View File

@@ -6,30 +6,18 @@
<font id="voltaicideas" horiz-adv-x="1000" >
<font-face font-family="voltaicideas" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="mail" unicode="&#xe80a;" d="m929 11v428q-18-20-39-37q-149-114-238-188q-28-24-46-38t-48-27t-57-13h-2q-26 0-57 13t-48 27t-46 38q-88 74-238 188q-21 17-39 37v-428q0-8 6-13t12-5h822q7 0 12 5t6 13z m0 586v14t-1 7t-1 7t-3 5t-5 4t-8 2h-822q-7 0-12-6t-6-12q0-94 82-159q108-85 224-177q4-2 20-16t25-21t25-18t28-15t24-5h2q11 0 24 5t28 15t25 18t25 21t20 16q116 92 224 177q30 24 56 65t26 73z m71 21v-607q0-37-26-63t-63-27h-822q-36 0-63 27t-26 63v607q0 37 26 63t63 26h822q37 0 63-26t26-63z" horiz-adv-x="1000" />
<glyph glyph-name="youtube" unicode="&#xe804;" d="m542 156v-118q0-37-22-37q-13 0-25 12v168q12 12 25 12q22 0 22-37z m188-1v-25h-50v25q0 38 25 38t25-38z m-539 122h60v52h-174v-52h59v-318h55v318z m161-318h50v276h-50v-211q-17-23-32-23q-10 0-11 11q-1 2-1 20v203h-50v-218q0-28 5-41q7-21 32-21q27 0 57 34v-30z m240 83v110q0 41-5 55q-10 31-40 31q-28 0-52-30v121h-50v-370h50v27q25-31 52-31q30 0 40 31q5 15 5 56z m188 6v7h-51q0-29-1-34q-4-20-22-20q-26 0-26 38v49h100v57q0 44-15 65q-22 28-59 28q-38 0-60-28q-15-21-15-65v-96q0-44 16-65q22-29 60-29q40 0 60 30q10 15 12 30q1 5 1 33z m-339 509v117q0 39-24 39t-24-39v-117q0-39 24-39t24 39z m401-419q0-131-14-195q-8-33-33-56t-57-25q-102-12-309-12t-310 12q-32 3-57 25t-32 56q-15 62-15 195q0 131 15 195q7 33 32 56t57 26q103 11 310 11t309-11q33-4 57-26t33-56q14-62 14-195z m-557 712h57l-67-223v-151h-56v151q-8 42-34 119q-21 57-37 104h60l39-147z m207-186v-97q0-46-16-66q-21-29-59-29q-38 0-59 29q-15 21-15 66v97q0 45 15 65q21 29 59 29q38 0 59-29q16-20 16-65z m187 91v-279h-51v31q-30-35-58-35q-25 0-33 21q-4 13-4 42v220h51v-205q0-19 0-20q2-12 12-12q15 0 32 24v213h51z" horiz-adv-x="857.1" />
<glyph glyph-name="ok" unicode="&#xe814;" d="m932 534q0-22-15-38l-404-404l-76-76q-16-15-38-15t-38 15l-76 76l-202 202q-15 16-15 38t15 38l76 76q16 16 38 16t38-16l164-165l366 367q16 16 38 16t38-16l76-76q15-16 15-38z" horiz-adv-x="1000" />
<glyph glyph-name="cancel" unicode="&#xe813;" d="m724 112q0-22-15-38l-76-76q-16-15-38-15t-38 15l-164 165l-164-165q-16-15-38-15t-38 15l-76 76q-16 16-16 38t16 38l164 164l-164 164q-16 16-16 38t16 38l76 76q16 16 38 16t38-16l164-164l164 164q16 16 38 16t38-16l76-76q15-15 15-38t-15-38l-164-164l164-164q15-15 15-38z" horiz-adv-x="785.7" />
<glyph glyph-name="link-ext" unicode="&#xe80b;" d="m786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-26t-25-10t-25 10l-98 99l-364-364q-5-6-13-6t-13 6l-63 63q-6 6-6 13t6 13l364 364l-99 98q-10 11-10 25t10 25t26 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
<glyph glyph-name="bookmark" unicode="&#xe80c;" d="m650 779q12 0 24-5q19-8 29-23t11-35v-719q0-19-11-35t-29-23q-10-4-24-4q-27 0-47 18l-246 236l-246-236q-20-19-46-19q-13 0-25 5q-18 7-29 23t-11 35v719q0 19 11 35t29 23q12 5 25 5h585z" horiz-adv-x="714.3" />
<glyph glyph-name="bookmark-empty" unicode="&#xe80d;" d="m643 707h-572v-693l237 227l49 47l50-47l236-227v693z m7 72q12 0 24-5q19-8 29-23t11-35v-719q0-19-11-35t-29-23q-10-4-24-4q-27 0-47 18l-246 236l-246-236q-20-19-46-19q-13 0-25 5q-18 7-29 23t-11 35v719q0 19 11 35t29 23q12 5 25 5h585z" horiz-adv-x="714.3" />
<glyph glyph-name="code" unicode="&#xe80e;" d="m344 69l-28-28q-5-5-12-5t-13 5l-260 260q-6 6-6 13t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220l219-219q6-6 6-13t-6-13z m330 596l-208-721q-2-7-9-11t-13-1l-34 9q-8 3-11 9t-2 14l208 720q3 8 9 11t13 2l35-10q7-2 11-9t1-13z m367-364l-260-260q-6-5-13-5t-13 5l-28 28q-5 6-5 13t5 13l219 219l-219 220q-5 5-5 12t5 13l28 28q6 6 13 6t13-6l260-260q5-5 5-13t-5-13z" horiz-adv-x="1071.4" />
<glyph glyph-name="attention-alt" unicode="&#xe811;" d="m286 154v-125q0-15-11-25t-25-11h-143q-14 0-25 11t-11 25v125q0 14 11 25t25 10h143q15 0 25-10t11-25z m16 589l-15-429q-1-14-12-25t-25-10h-143q-14 0-25 10t-12 25l-15 429q-1 14 9 25t25 11h179q14 0 25-11t9-25z" horiz-adv-x="357.1" />
<glyph glyph-name="attention" unicode="&#xe810;" d="m571 83v106q0 8-5 13t-12 5h-108q-7 0-12-5t-5-13v-106q0-8 5-13t12-6h108q7 0 12 6t5 13z m-1 208l10 257q0 6-5 10q-7 6-14 6h-122q-7 0-14-6q-5-4-5-12l9-255q0-5 6-9t13-3h103q8 0 13 3t6 9z m-7 522l428-786q20-35-1-70q-10-17-26-26t-35-10h-858q-18 0-35 10t-26 26q-21 35-1 70l429 786q9 17 26 27t36 10t36-10t27-27z" horiz-adv-x="1000" />
<glyph glyph-name="attention-circled" unicode="&#xe80f;" d="m429 779q116 0 215-58t156-156t57-215t-57-215t-156-156t-215-58t-216 58t-155 156t-58 215t58 215t155 156t216 58z m71-696v106q0 8-5 13t-12 5h-107q-8 0-13-5t-6-13v-106q0-8 6-13t13-6h107q7 0 12 6t5 13z m-1 192l10 346q0 7-6 10q-5 5-13 5h-123q-8 0-13-5q-6-3-6-10l10-346q0-6 5-10t14-4h103q8 0 13 4t6 10z" horiz-adv-x="857.1" />
<glyph glyph-name="mic" unicode="&#xe815;" d="m643 457v-71q0-124-82-215t-204-104v-74h143q15 0 25-11t11-25t-11-25t-25-11h-357q-15 0-25 11t-11 25t11 25t25 11h143v74q-121 13-204 104t-82 215v71q0 15 11 25t25 11t25-11t10-25v-71q0-104 74-177t176-73t177 73t73 177v71q0 15 11 25t25 11t25-11t11-25z m-143 214v-285q0-74-52-126t-127-53t-126 53t-52 126v285q0 74 52 127t126 52t127-52t52-127z" horiz-adv-x="642.9" />
<glyph glyph-name="videocam" unicode="&#xe812;" d="m1000 654v-608q0-23-22-32q-7-3-14-3q-15 0-25 10l-225 225v-92q0-67-47-114t-113-47h-393q-67 0-114 47t-47 114v392q0 67 47 114t114 47h393q66 0 113-47t47-114v-92l225 225q10 10 25 10q7 0 14-3q22-9 22-32z" horiz-adv-x="1000" />
<glyph glyph-name="tasks" unicode="&#xe816;" d="m571 64h358v72h-358v-72z m-214 286h572v71h-572v-71z m357 286h215v71h-215v-71z m286-465v-142q0-15-11-25t-25-11h-928q-15 0-25 11t-11 25v142q0 15 11 26t25 10h928q15 0 25-10t11-26z m0 286v-143q0-14-11-25t-25-10h-928q-15 0-25 10t-11 25v143q0 15 11 25t25 11h928q15 0 25-11t11-25z m0 286v-143q0-15-11-25t-25-11h-928q-15 0-25 11t-11 25v143q0 14 11 25t25 11h928q15 0 25-11t11-25z" horiz-adv-x="1000" />
<glyph glyph-name="dollar" unicode="&#xe808;" d="m546 189q0-86-56-147t-144-77v-97q0-8-5-13t-13-5h-75q-7 0-13 5t-5 13v97q-37 5-71 18t-57 25t-41 26t-26 21t-10 10q-9 12-1 23l58 76q3 5 12 6q9 1 14-5l1-1q63-55 135-70q21-4 42-4q45 0 79 24t35 68q0 16-9 30t-18 23t-33 21t-37 18t-45 18q-21 9-34 14t-34 15t-35 17t-32 20t-29 24t-25 27t-20 32t-11 37t-5 44q0 77 55 135t142 75v100q0 7 5 13t13 5h75q8 0 13-5t5-13v-98q32-4 62-13t48-19t36-21t21-16t9-8q9-10 3-21l-46-81q-4-9-12-9q-8-2-16 4q-1 1-8 6t-21 15t-33 18t-42 15t-47 6q-53 0-87-24t-33-62q0-14 4-27t17-23t22-18t31-18t34-15t39-15q30-11 45-18t43-19t42-24t34-28t30-35t18-43t7-52z" horiz-adv-x="571.4" />
<glyph glyph-name="spinner" unicode="&#xe807;" d="m277 100q0-33-24-57t-57-23q-33 0-56 23t-24 57t24 57t56 23q33 0 57-23t24-57z m241-107q0-30-21-51t-51-21t-50 21t-21 51t21 50t50 21t51-21t21-50z m-339 357q0-37-27-63t-63-26t-63 26t-26 63t26 63t63 26t63-26t27-63z m580-250q0-26-18-44t-45-18t-44 18t-18 44t18 44t44 19t45-19t18-44z m-464 500q0-41-29-69t-70-29t-69 29t-29 69t29 69t69 29t70-29t29-69z m259 107q0-45-32-76t-76-31t-75 31t-32 76t32 76t75 31t76-31t32-76z m303-357q0-22-15-38t-38-16t-38 16t-16 38t16 38t38 16t38-16t15-38z m-116 250q0-18-13-32t-32-13t-31 13t-13 32t13 31t31 14t32-14t13-31z" horiz-adv-x="875" />
<glyph glyph-name="terminal" unicode="&#xe809;" d="m326 301l-260-260q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219l-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l260-260q6-5 6-13t-6-13z m603-255v-35q0-8-5-13t-13-5h-536q-8 0-13 5t-5 13v35q0 8 5 13t13 5h536q8 0 13-5t5-13z" horiz-adv-x="928.6" />
<glyph glyph-name="bitbucket" unicode="&#xe805;" d="m455 371q4-35-28-57t-63-3q-21 9-29 32t-1 46t29 32q20 10 41 7t35-20t16-37z m62 11q-8 60-63 92t-110 7q-35-15-56-49t-20-72q3-51 44-87t92-31q51 4 85 47t28 93z m133 303q-11 15-31 25t-32 12t-40 7q-162 26-316-1q-24-4-37-7t-30-12t-28-24q16-16 42-26t41-12t49-6q127-17 250-1q35 5 50 7t40 12t42 26z m32-578q-5-14-9-42t-8-47t-15-39t-33-32q-48-27-106-40t-112-12t-113 10q-25 5-45 10t-43 15t-41 25t-29 34q-14 54-31 163l3 9l10 5q124-83 283-83t283 83q12-3 13-13t-3-25t-4-21z m101 537q-15-94-62-366q-3-17-15-31t-24-23t-31-17q-140-70-340-49q-139 15-220 78q-8 6-14 14t-10 20t-5 19t-3 22t-3 19q-5 28-15 84t-16 90t-13 83t-12 88q2 14 10 27t17 21t26 17t25 12t27 10q70 26 175 36q211 21 377-28q86-25 120-68q9-11 9-28t-3-30z" horiz-adv-x="785.7" />
<glyph glyph-name="github" unicode="&#xe800;" d="m357 171q0-22-7-45t-24-43t-40-19t-41 19t-24 43t-7 45t7 46t24 43t41 19t40-19t24-43t7-46z m357 0q0-22-7-45t-24-43t-40-19t-41 19t-24 43t-7 45t7 46t24 43t41 19t40-19t24-43t7-46z m90 0q0 67-39 114t-104 47q-23 0-109-12q-40-6-88-6t-87 6q-85 12-109 12q-66 0-104-47t-39-114q0-49 18-85t45-58t68-33t78-17t83-4h94q46 0 83 4t78 17t69 33t45 58t18 85z m125 99q0-116-34-185q-22-43-59-74t-79-48t-95-27t-96-12t-93-3q-43 0-79 2t-82 7t-85 17t-77 28t-67 46t-48 64q-35 69-35 185q0 132 76 221q-15 45-15 94q0 65 28 122q61 0 106-22t106-69q82 20 172 20q83 0 156-18q59 46 105 67t105 22q29-57 29-122q0-48-15-93q76-90 76-222z" horiz-adv-x="928.6" />
<glyph glyph-name="gplus" unicode="&#xe801;" d="m489 33q0 11-3 22t-5 20t-10 19t-11 17t-15 17t-16 14t-17 14t-18 13t-18 13t-17 12q-10 1-28 1q-30 0-59-4t-60-14t-55-26t-39-41t-15-60q0-38 20-68t52-47t67-25t71-9q33 0 63 7t56 22t42 41t15 62z m-67 481q0 33-9 71t-27 72t-46 59t-67 22q-52 0-80-38t-29-92q0-26 7-55t19-58t32-53t43-37t54-15q54 0 79 34t24 90z m-73 265h244l-76-45h-75q40-25 61-70t22-94q0-41-13-74t-31-51t-37-36t-31-34t-13-38q0-14 9-28t24-27t33-27t36-31t32-37t24-47t10-60q0-89-79-157q-84-73-234-73q-33 0-67 6t-68 18t-60 33t-43 49t-17 68q0 34 21 75q18 36 53 62t81 40t87 20t83 7q-35 47-35 83q0 7 1 14t3 10t4 12t4 12q-22-2-39-2q-83 0-143 54t-59 138q0 78 53 139t130 79q53 11 105 11z m580-143v-72h-143v-143h-72v143h-143v72h143v143h72v-143h143z" horiz-adv-x="928.6" />
<glyph glyph-name="html5" unicode="&#xe806;" d="m631 517l9 98h-494l26-298h342l-12-128l-110-29l-110 29l-7 78h-98l13-155l202-55h2v0l200 55l28 304h-359l-9 101h377z m-631 262h786l-72-803l-322-90l-321 90z" horiz-adv-x="785.7" />
<glyph glyph-name="linkedin" unicode="&#xe803;" d="m195 501v-553h-184v553h184z m12 171q0-41-29-68t-75-27h-1q-46 0-74 27t-28 68q0 41 29 68t75 27t74-27t29-68z m650-407v-317h-183v296q0 59-23 92t-71 33q-35 0-58-19t-36-48q-6-17-6-45v-309h-184q1 223 1 361t0 165l-1 27h184v-80h-1q11 18 23 31t31 29t49 24t64 9q95 0 153-63t58-186z" horiz-adv-x="857.1" />
<glyph glyph-name="twitter" unicode="&#xe802;" d="m904 622q-37-54-90-93q0-8 0-23q0-73-21-145t-64-139t-103-117t-144-82t-181-30q-151 0-276 81q19-3 43-3q126 0 224 77q-59 2-105 36t-64 89q19-2 34-2q24 0 48 6q-63 13-104 62t-41 115v2q38-21 82-23q-37 25-59 64t-22 86q0 49 25 91q68-83 164-133t208-55q-5 21-5 41q0 75 53 127t127 53q79 0 132-57q61 12 114 44q-20-64-79-100q52 6 104 28z" horiz-adv-x="928.6" />
<glyph glyph-name="fork" unicode="&#xe817;" d="m161 29q0 22-16 38t-38 15t-38-15t-15-38t15-38t38-16t38 16t16 38z m0 642q0 23-16 38t-38 16t-38-16t-15-38t15-38t38-15t38 15t16 38z m357-71q0 22-16 38t-38 16t-38-16t-15-38t15-38t38-16t38 16t16 38z m53 0q0-29-14-54t-39-39q-1-160-126-231q-38-21-114-45q-71-22-94-39t-23-56v-15q24-14 39-39t14-53q0-45-31-76t-76-32t-76 32t-31 76q0 29 15 53t39 39v458q-25 14-39 39t-15 53q0 45 31 76t76 32t76-32t31-76q0-29-14-53t-39-39v-278q30 15 86 32q30 10 49 17t39 17t33 22t22 29t16 38t5 51q-25 14-39 39t-15 54q0 45 31 76t76 31t76-31t31-76z" horiz-adv-x="571.4" />
<glyph glyph-name="bookmark" unicode="&#xe80a;" d="m650 779q12 0 24-5q19-8 29-23t11-35v-719q0-19-11-35t-29-23q-10-4-24-4q-27 0-47 18l-246 236l-246-236q-20-19-46-19q-13 0-25 5q-18 7-29 23t-11 35v719q0 19 11 35t29 23q12 5 25 5h585z" horiz-adv-x="714.3" />
<glyph glyph-name="youtube" unicode="&#xe800;" d="m542 156v-118q0-37-22-37q-13 0-25 12v168q12 12 25 12q22 0 22-37z m188-1v-25h-50v25q0 38 25 38t25-38z m-539 122h60v52h-174v-52h59v-318h55v318z m161-318h50v276h-50v-211q-17-23-32-23q-10 0-11 11q-1 2-1 20v203h-50v-218q0-28 5-41q7-21 32-21q27 0 57 34v-30z m240 83v110q0 41-5 55q-10 31-40 31q-28 0-52-30v121h-50v-370h50v27q25-31 52-31q30 0 40 31q5 15 5 56z m188 6v7h-51q0-29-1-34q-4-20-22-20q-26 0-26 38v49h100v57q0 44-15 65q-22 28-59 28q-38 0-60-28q-15-21-15-65v-96q0-44 16-65q22-29 60-29q40 0 60 30q10 15 12 30q1 5 1 33z m-339 509v117q0 39-24 39t-24-39v-117q0-39 24-39t24 39z m401-419q0-131-14-195q-8-33-33-56t-57-25q-102-12-309-12t-310 12q-32 3-57 25t-32 56q-15 62-15 195q0 131 15 195q7 33 32 56t57 26q103 11 310 11t309-11q33-4 57-26t33-56q14-62 14-195z m-557 712h57l-67-223v-151h-56v151q-8 42-34 119q-21 57-37 104h60l39-147z m207-186v-97q0-46-16-66q-21-29-59-29q-38 0-59 29q-15 21-15 66v97q0 45 15 65q21 29 59 29q38 0 59-29q16-20 16-65z m187 91v-279h-51v31q-30-35-58-35q-25 0-33 21q-4 13-4 42v220h51v-205q0-19 0-20q2-12 12-12q15 0 32 24v213h51z" horiz-adv-x="857.1" />
<glyph glyph-name="code" unicode="&#xe80b;" d="m344 69l-28-28q-5-5-12-5t-13 5l-260 260q-6 6-6 13t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13t-6-12l-219-220l219-219q6-6 6-13t-6-13z m330 596l-208-721q-2-7-9-11t-13-1l-34 9q-8 3-11 9t-2 14l208 720q3 8 9 11t13 2l35-10q7-2 11-9t1-13z m367-364l-260-260q-6-5-13-5t-13 5l-28 28q-5 6-5 13t5 13l219 219l-219 220q-5 5-5 12t5 13l28 28q6 6 13 6t13-6l260-260q5-5 5-13t-5-13z" horiz-adv-x="1071.4" />
<glyph glyph-name="up-big" unicode="&#xe808;" d="m899 308q0-28-21-50l-42-42q-21-21-50-21q-30 0-51 21l-164 164v-393q0-29-20-47t-51-19h-71q-30 0-51 19t-21 47v393l-164-164q-20-21-50-21t-50 21l-42 42q-21 21-21 50q0 30 21 51l363 363q20 21 50 21q30 0 51-21l363-363q21-22 21-51z" horiz-adv-x="928.6" />
<glyph glyph-name="bitbucket" unicode="&#xe807;" d="m455 371q4-35-28-57t-63-3q-21 9-29 32t-1 46t29 32q20 10 41 7t35-20t16-37z m62 11q-8 60-63 92t-110 7q-35-15-56-49t-20-72q3-51 44-87t92-31q51 4 85 47t28 93z m133 303q-11 15-31 25t-32 12t-40 7q-162 26-316-1q-24-4-37-7t-30-12t-28-24q16-16 42-26t41-12t49-6q127-17 250-1q35 5 50 7t40 12t42 26z m32-578q-5-14-9-42t-8-47t-15-39t-33-32q-48-27-106-40t-112-12t-113 10q-25 5-45 10t-43 15t-41 25t-29 34q-14 54-31 163l3 9l10 5q124-83 283-83t283 83q12-3 13-13t-3-25t-4-21z m101 537q-15-94-62-366q-3-17-15-31t-24-23t-31-17q-140-70-340-49q-139 15-220 78q-8 6-14 14t-10 20t-5 19t-3 22t-3 19q-5 28-15 84t-16 90t-13 83t-12 88q2 14 10 27t17 21t26 17t25 12t27 10q70 26 175 36q211 21 377-28q86-25 120-68q9-11 9-28t-3-30z" horiz-adv-x="785.7" />
<glyph glyph-name="css3" unicode="&#xe806;" d="m153 779h840l-148-744l-449-149l-389 149l39 198h166l-16-82l235-89l272 89l38 190h-675l33 165h674l22 107h-674z" horiz-adv-x="1000" />
<glyph glyph-name="bookmark-empty" unicode="&#xe809;" d="m643 707h-572v-693l237 227l49 47l50-47l236-227v693z m7 72q12 0 24-5q19-8 29-23t11-35v-719q0-19-11-35t-29-23q-10-4-24-4q-27 0-47 18l-246 236l-246-236q-20-19-46-19q-13 0-25 5q-18 7-29 23t-11 35v719q0 19 11 35t29 23q12 5 25 5h585z" horiz-adv-x="714.3" />
<glyph glyph-name="gplus" unicode="&#xe804;" d="m489 33q0 11-3 22t-5 20t-10 19t-11 17t-15 17t-16 14t-17 14t-18 13t-18 13t-17 12q-10 1-28 1q-30 0-59-4t-60-14t-55-26t-39-41t-15-60q0-38 20-68t52-47t67-25t71-9q33 0 63 7t56 22t42 41t15 62z m-67 481q0 33-9 71t-27 72t-46 59t-67 22q-52 0-80-38t-29-92q0-26 7-55t19-58t32-53t43-37t54-15q54 0 79 34t24 90z m-73 265h244l-76-45h-75q40-25 61-70t22-94q0-41-13-74t-31-51t-37-36t-31-34t-13-38q0-14 9-28t24-27t33-27t36-31t32-37t24-47t10-60q0-89-79-157q-84-73-234-73q-33 0-67 6t-68 18t-60 33t-43 49t-17 68q0 34 21 75q18 36 53 62t81 40t87 20t83 7q-35 47-35 83q0 7 1 14t3 10t4 12t4 12q-22-2-39-2q-83 0-143 54t-59 138q0 78 53 139t130 79q53 11 105 11z m580-143v-72h-143v-143h-72v143h-143v72h143v143h72v-143h143z" horiz-adv-x="928.6" />
<glyph glyph-name="html5" unicode="&#xe803;" d="m631 517l9 98h-494l26-298h342l-12-128l-110-29l-110 29l-7 78h-98l13-155l202-55h2v0l200 55l28 304h-359l-9 101h377z m-631 262h786l-72-803l-322-90l-321 90z" horiz-adv-x="785.7" />
<glyph glyph-name="linkedin" unicode="&#xe802;" d="m195 501v-553h-184v553h184z m12 171q0-41-29-68t-75-27h-1q-46 0-74 27t-28 68q0 41 29 68t75 27t74-27t29-68z m650-407v-317h-183v296q0 59-23 92t-71 33q-35 0-58-19t-36-48q-6-17-6-45v-309h-184q1 223 1 361t0 165l-1 27h184v-80h-1q11 18 23 31t31 29t49 24t64 9q95 0 153-63t58-186z" horiz-adv-x="857.1" />
<glyph glyph-name="twitter" unicode="&#xe801;" d="m904 622q-37-54-90-93q0-8 0-23q0-73-21-145t-64-139t-103-117t-144-82t-181-30q-151 0-276 81q19-3 43-3q126 0 224 77q-59 2-105 36t-64 89q19-2 34-2q24 0 48 6q-63 13-104 62t-41 115v2q38-21 82-23q-37 25-59 64t-22 86q0 49 25 91q68-83 164-133t208-55q-5 21-5 41q0 75 53 127t127 53q79 0 132-57q61 12 114 44q-20-64-79-100q52 6 104 28z" horiz-adv-x="928.6" />
<glyph glyph-name="github" unicode="&#xe805;" d="m357 171q0-22-7-45t-24-43t-40-19t-41 19t-24 43t-7 45t7 46t24 43t41 19t40-19t24-43t7-46z m357 0q0-22-7-45t-24-43t-40-19t-41 19t-24 43t-7 45t7 46t24 43t41 19t40-19t24-43t7-46z m90 0q0 67-39 114t-104 47q-23 0-109-12q-40-6-88-6t-87 6q-85 12-109 12q-66 0-104-47t-39-114q0-49 18-85t45-58t68-33t78-17t83-4h94q46 0 83 4t78 17t69 33t45 58t18 85z m125 99q0-116-34-185q-22-43-59-74t-79-48t-95-27t-96-12t-93-3q-43 0-79 2t-82 7t-85 17t-77 28t-67 46t-48 64q-35 69-35 185q0 132 76 221q-15 45-15 94q0 65 28 122q61 0 106-22t106-69q82 20 172 20q83 0 156-18q59 46 105 67t105 22q29-57 29-122q0-48-15-93q76-90 76-222z" horiz-adv-x="928.6" />
</font>
</defs>
</svg>

BIN
assets/fonts/voltaicideas.ttf View File


BIN
assets/fonts/voltaicideas.woff View File


+ 94
- 1
assets/scss/app.scss View File

@@ -13,14 +13,107 @@
}
}

#disqus_thread {
border-top: 1px solid $secondary-color;
border-bottom: 1px solid $secondary-color;
padding-top: 7px;
margin-bottom: 7px;
margin-top: 10px;
}

.social a{
i { display: none; }
}

.contain-to-grid {
border-bottom: 1px solid #e5e5e5;
}

.imageHeader {
padding: 0;
.imageCredit {
@include label(7px 16px, 0.7rem, rgba(0,0,0,0.5), 0px);
position: absolute;
color: darken(#fff, 10%);
right: 0;
bottom: 0;
a {
color: #fff;
}
}
}
.pageHeader {
border-bottom: 1px solid $secondary-color;
}

.content {
padding-left: 0.5rem;
padding-right: 0.5rem;
a {
text-decoration: underline;
}
}

.tag {
text-align: center;
text-decoration: none;
display: inline-block;
padding: 0.25rem 0.75rem;
font-size: 0.6875rem;
color: desaturate($primary-color, 20%);
background-color: $secondary-color;
@include border-radius($global-radius);
&:hover {
background-color: darken($secondary-color, 10%);
}
span {
@include border-radius($global-radius);
display: inline-block;
margin-left: 5px;
background-color: lighten($secondary-color, 5%);
padding: 2px 5px;
}
}

article {
header {
border-bottom: 1px dashed $secondary-color;
}
.content {
border-bottom: 1px dashed $secondary-color;
}
footer {
color: darken($secondary-color, 20%);
a {
color: desaturate($primary-color, 50%);
}
margin-bottom: 7px;
.meta {
display: block;
margin-top: 7px;
margin-bottom: 7px;
}
}
&.excerpt {
border-bottom: 1px solid $secondary-color;
margin-bottom: 7px;
padding-bottom: 7px;
header {
border-bottom: none;
}
.content {
border-bottom: none;
}
footer {
margin-bottom: 0;
}
}
}

@media #{$medium-up} {
.social a {
padding: 0 9px !important;
span { display: none; }
i { display: inline }
}
}
}

+ 12
- 24
assets/scss/voltaicideas/_icon_codes.scss View File

@@ -1,24 +1,12 @@
.icon-mail:before { content: '\e80a'; } /* '' */
.icon-youtube:before { content: '\e804'; } /* '' */
.icon-ok:before { content: '\e814'; } /* '' */
.icon-cancel:before { content: '\e813'; } /* '' */
.icon-link-ext:before { content: '\e80b'; } /* '' */
.icon-bookmark:before { content: '\e80c'; } /* '' */
.icon-bookmark-empty:before { content: '\e80d'; } /* '' */
.icon-code:before { content: '\e80e'; } /* '' */
.icon-attention-alt:before { content: '\e811'; } /* '' */
.icon-attention:before { content: '\e810'; } /* '' */
.icon-attention-circled:before { content: '\e80f'; } /* '' */
.icon-mic:before { content: '\e815'; } /* '' */
.icon-videocam:before { content: '\e812'; } /* '' */
.icon-tasks:before { content: '\e816'; } /* '' */
.icon-dollar:before { content: '\e808'; } /* '' */
.icon-spinner:before { content: '\e807'; } /* '' */
.icon-terminal:before { content: '\e809'; } /* '' */
.icon-bitbucket:before { content: '\e805'; } /* '' */
.icon-github:before { content: '\e800'; } /* '' */
.icon-gplus:before { content: '\e801'; } /* '' */
.icon-html5:before { content: '\e806'; } /* '' */
.icon-linkedin:before { content: '\e803'; } /* '' */
.icon-twitter:before { content: '\e802'; } /* '' */
.icon-fork:before { content: '\e817'; } /* '' */
.icon-bookmark:before { content: '\e80a'; } /* '' */
.icon-youtube:before { content: '\e800'; } /* '' */
.icon-code:before { content: '\e80b'; } /* '' */
.icon-up-big:before { content: '\e808'; } /* '' */
.icon-bitbucket:before { content: '\e807'; } /* '' */
.icon-css3:before { content: '\e806'; } /* '' */
.icon-bookmark-empty:before { content: '\e809'; } /* '' */
.icon-gplus:before { content: '\e804'; } /* '' */
.icon-html5:before { content: '\e803'; } /* '' */
.icon-linkedin:before { content: '\e802'; } /* '' */
.icon-twitter:before { content: '\e801'; } /* '' */
.icon-github:before { content: '\e805'; } /* '' */

+ 5
- 33
assets/scss/voltaicideas/_pygments.scss View File

@@ -1,7 +1,6 @@
.highlight{
font-size: rem-calc(14px);
padding: 0;
background-color: lighten($secondary-color, 8%);
font-family: 'Source Code Pro', 'Consolas', Monaco, monospace;
overflow: auto;
margin-bottom: rem-calc(16px);
@@ -9,43 +8,16 @@
tab-size: 4;
white-space: pre;
font-family: inherit;
counter-reset: line-numbering;
border: solid 1px #d9d9d9;
background-color: lighten($secondary-color, 5%);
border-radius: 0;
background: #fff;
padding: rem-calc(3px);
padding-left: rem-calc(5px);
line-height: 23px;
overflow-x: auto;
word-break: inherit;
word-wrap: inherit;
a {
&::before {
content: counter(line-numbering);
counter-increment: line-numbering;
padding-right: 1em; /* space after numbers */
width: 25px;
text-align: right;
opacity: 0.7;
display: inline-block;
color: #aaa;
background: #eee;
margin-right: 16px;
padding: 2px 10px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
&:first-of-type::before {
padding-top: 10px;
}
&:last-of-type::before {
padding-bottom: 10px;
}
&:only-of-type::before {
padding: 10px;
code {
&.text {
color: #555;
}
}
}

+ 22
- 6
index.html View File

@@ -1,9 +1,25 @@
---
layout: default
layout: list
title: Latest Posts
description: 'Latest Posts from [email protected]'
---
<h1>Some Text</h1>
<ul>
{% for post in paginator.posts %}
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
{% for post in site.posts limit: 10 %}
<article class="excerpt">
<header>
<h3><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h3>
<h6 class="subheader"><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> <em>By</em> {{ site.owner.name }} <em>Tagged:</em>
{% for tag in post.tags %}
<a class="tag" title="Posts tagged {{ tag }}" href="{{ site.url }}/tags/#{{ tag | cgi_escape }}">{{ tag }}</a>
{% endfor %}
</h6>
</header>
<div class="content">
{{ post.excerpt }}
</div>
<footer>
<a href="{{ site.url }}{{ post.url }}">Continue reading ...</a></footer>
</article>
{% endfor %}
</ul>
<div class="text-center">
<h3><a href="{{ site.url }}/archive/">Post Archive</a></h3>
</div>

+ 2
- 0
robots.txt View File

@@ -0,0 +1,2 @@
User-agent: *


+ 28
- 0
tags.html View File

@@ -0,0 +1,28 @@
---
layout: list
title: Tags
description: 'All Posts from [email protected] grouped by tag.'
permalink: /tags/
---
<div class="row" id="top">
<div class="small-12 columns text-center">
{% for tag in site.tags %}
<a class="tag" title="Posts tagged {{ tag[0] }}" href="#{{ tag[0] | cgi_escape }}">{{ tag[0] }}<span>{{ tag[1].size }}</span></a>
{% endfor %}
</div>
</div>
{% for tag in site.tags %}
<div class="row">
<div class="small-12 columns">
<h3 id="{{ tag[0] | cgi_escape }}">{{ tag[0] }}</h3>
<ul>
{% for post in tag[1] %}
<li><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
<div class="text-center">
<a href="#top" class="button tiny radius secondary">Back to Top&nbsp;<i class="icon-up-big"></i></a>
</div>
</div>
</div>
{% endfor %}

Loading…
Cancel
Save