removing gh-pages branch and putting everything in master
This commit is contained in:
15
_layouts/archive.html
Normal file
15
_layouts/archive.html
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
layout: default
|
||||
type: archive
|
||||
---
|
||||
|
||||
<div class="post-header">
|
||||
<h1 class="post-title-main">{{ page.title }}</h1>
|
||||
</div>
|
||||
<div class="post-content">
|
||||
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
65
_layouts/default.html
Normal file
65
_layouts/default.html
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
|
||||
{% include head.html %}
|
||||
|
||||
{% if page.video == true %}
|
||||
|
||||
<link href="https://vjs.zencdn.net/4.12/video-js.css" rel="stylesheet">
|
||||
<script src="https://vjs.zencdn.net/4.12/video.js"></script>
|
||||
{%comment%}
|
||||
<!--
|
||||
if you want the video js and css local instead of cdn, use the following code instead of the cdn links above.
|
||||
-->
|
||||
<link href="{{ "/js/video-js/video-js.min.css" | prepend:site.baseurl }}" rel="stylesheet" type="text/css"></link>
|
||||
<script src="{{ "/js/video-js/video.js" | prepend:site.baseurl }}"></script>
|
||||
<script> videojs.options.flash.swf = "{{site.baseurl}}/js/video-js/video-js.swf";</script>
|
||||
{%endcomment%}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if page.datatable == true %}
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.5/css/jquery.dataTables.css">
|
||||
|
||||
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.5/js/jquery.dataTables.js"></script>
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{% include topnav.html %}
|
||||
|
||||
|
||||
<!-- Page Content -->
|
||||
<div class="container">
|
||||
<div class="col-lg-12"> </div>
|
||||
|
||||
|
||||
|
||||
{% unless page.sidebar == "none" %}
|
||||
|
||||
{% include sidebar.html %}
|
||||
|
||||
{% endunless %}
|
||||
|
||||
<!-- Content Column -->
|
||||
<div class="col-md-9">
|
||||
|
||||
{{content}}
|
||||
</div><!-- /.row -->
|
||||
|
||||
<hr>
|
||||
|
||||
</div> <!-- /.container -->
|
||||
|
||||
</body>
|
||||
{% if site.google_analytics %}
|
||||
{% include google_analytics.html %}
|
||||
{% endif %}
|
||||
|
||||
</html>
|
||||
|
||||
46
_layouts/default_print.html
Normal file
46
_layouts/default_print.html
Normal file
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
{% include head.html %}
|
||||
{% comment %}
|
||||
<script>
|
||||
Prince.addScriptFunc("datestamp", function() {
|
||||
return (new Date()).toString();
|
||||
});
|
||||
</script>
|
||||
{% endcomment %}
|
||||
<link rel="stylesheet" href="{{ "/css/printstyles.css" | prepend:site.baseurl }}" type='text/css'>
|
||||
|
||||
{% if site.audience == "writer" %}
|
||||
<link rel="stylesheet" href="{{ "/css/print-header-writer.css" | prepend:site.baseurl }}" type='text/css'>
|
||||
{% else if site.audience == "designer" %}
|
||||
<link rel="stylesheet" href="{{ "/css/print-header-designer.css" | prepend:site.baseurl }}" type='text/css'>
|
||||
{% endif %}
|
||||
|
||||
{% if page.datatable == true %}
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.5/css/jquery.dataTables.css">
|
||||
|
||||
<script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.5/js/jquery.dataTables.js"></script>
|
||||
{% endif %}
|
||||
|
||||
</head>
|
||||
|
||||
<body class="print">
|
||||
|
||||
<!-- Page Content -->
|
||||
<div class="container">
|
||||
<!-- Content Column -->
|
||||
<div class="col-md-9">
|
||||
|
||||
{{content}}
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
</div> <!-- /.container -->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
3
_layouts/none.html
Normal file
3
_layouts/none.html
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
---
|
||||
{{content}}
|
||||
42
_layouts/page.html
Normal file
42
_layouts/page.html
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
layout: default
|
||||
comments: true
|
||||
---
|
||||
<div class="post-header">
|
||||
<h1 class="post-title-main">{{ page.title }}</h1>
|
||||
|
||||
{% unless page.type == "noTags" %}
|
||||
<div class="pageTags">
|
||||
|
||||
{% for tag in page.tags %}
|
||||
{% if site.data.tags.allowed-tags contains tag %}
|
||||
<a href="{{ "/tag-" | prepend: site.baseurl | append: {{tag}}/index.html ">
|
||||
<button type="button" class="btn btn-default navbar-btn">{{tag}}</button></a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if site.show_audience_label == true %}
|
||||
{% if page.audience != null %}
|
||||
<div class="audienceLabel">
|
||||
<div class="prefaceAudienceLabel">Visibility</div>
|
||||
{% if page.audience contains "writer" %}<span class="label label-info myLabel">Writer</span> {% endif %}
|
||||
<p>
|
||||
{% if page.audience contains "designer" %}<span class="label label-warning">Designer</span> {% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
|
||||
|
||||
<div class="post-content">
|
||||
|
||||
{% include toc.html %}
|
||||
{{ content }}
|
||||
{% include disqus.html %}
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Footer -->
|
||||
{% include footer.html %}
|
||||
16
_layouts/page_print.html
Normal file
16
_layouts/page_print.html
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: default_print
|
||||
comments: true
|
||||
---
|
||||
<div class="post-header">
|
||||
<h1 class="post-title-main" id="{{page.permalink | replace: '/', '' }}">{{ page.title }}</h1>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="post-content">
|
||||
|
||||
{% include toc.html %}
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
59
_layouts/post.html
Executable file
59
_layouts/post.html
Executable file
@@ -0,0 +1,59 @@
|
||||
---
|
||||
layout: default
|
||||
comments: true
|
||||
---
|
||||
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }} {% if page.author %} • by {{ page.author }} {% endif %} {% if page.tags %} • {{ page.tags | array_to_sentence_string }}{% endif %} {% if page.meta %} • {{ page.meta }}{% endif %}</p>
|
||||
|
||||
<div class="post-summary">{{page.excerpt}}</div>
|
||||
|
||||
|
||||
{% include {{site.includes_directory}}/toc.html %}
|
||||
|
||||
|
||||
{{ content }}
|
||||
|
||||
|
||||
{% include {{site.includes_directory}}/related_posts.html %}
|
||||
|
||||
|
||||
<div class="well well-sm">
|
||||
|
||||
<div class="nextPost">Next post: <a href="{{ page.next.url | prepend:site.baseurl }}">{{ page.next.title }}</a>.
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
{% if page.previous or page.next %}
|
||||
<div class="post-navs row">
|
||||
{% if page.previous %}
|
||||
<div class="col-md-6 post-nav">
|
||||
<h3 class="section-header">
|
||||
Older
|
||||
<span class="text-muted"> · </span>
|
||||
<a href="{{ "/blogarchive" | prepend:site.baseurl }}">View Archive ({{ site.posts.size }})</a>
|
||||
</h3>
|
||||
<h2 class="post-title-link"><a href="{{ page.previous.url | prepend:site.baseurl }}">{{ page.previous.title }}</a></h2>
|
||||
{{ page.previous.excerpt | markdownify }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.next %}
|
||||
<div class="col-md-6 post-nav">
|
||||
<h3 class="section-header">
|
||||
Newer
|
||||
{% unless page.previous %}
|
||||
<span class="text-muted"> · </span>
|
||||
<a href="{{ "/archive" | prepend:site.baseurl }}">View Archive ({{ site.posts.size }})</a>
|
||||
{% endunless %}
|
||||
</h3>
|
||||
<h2 class="post-title-link"><a href="{{ page.next.url | prepend:site.baseurl }}">{{ page.next.title }}</a></h2>
|
||||
{{ page.next.excerpt | markdownify }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<h3>Related posts</h3>
|
||||
{% include related_posts.html %}
|
||||
|
||||
{% if site.disqus %} {% include disqus.html %} {% endif %}
|
||||
13
_layouts/tag_page.html
Normal file
13
_layouts/tag_page.html
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<h2>{{ page.tag }}</h2>
|
||||
<ul>
|
||||
{% for post in page.posts %}
|
||||
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<div id="tag-cloud">
|
||||
{{ site | tag_cloud }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user