Move to Adam's Blog template

This commit is contained in:
Madison Scott-Clary
2017-09-06 13:04:59 -06:00
parent faf67db776
commit a814cdf0ab
58 changed files with 8508 additions and 213 deletions

9
_layouts/default.html Executable file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
{{ content }}
{% include javascripts.html %}
{% include analytics.html %}
</body>
</html>

12
_layouts/home-page.html Normal file
View File

@ -0,0 +1,12 @@
---
layout: default
---
<div class="flex-container">
{% include header.html %}
<div class="content wrapper">
{{ content }}
{% include search.html %}
{% include pagination.html %}
</div> <!-- End Wrapper -->
{% include footer.html %}
</div>

42
_layouts/post.html Executable file
View File

@ -0,0 +1,42 @@
---
layout: default
---
<div class="flex-container">
{% include header.html %}
<article class="article-page">
{% if page.img %}
<div class="page-image">
<div class="cover-image" style="background: url({{"/assets/img/" | prepend: site.baseurl | append : page.img}}) center no-repeat; background-size: cover;"></div>
</div>
{% endif %}
<div class="wrapper{% if page.img %} with-image{% endif %}">
<div class="page-content">
<div class="header-page">
<h1 class="page-title">{{page.title}}</h1>
<div class="page-date"><time datetime="{{page.date}}">{{page.date | date: '%Y, %b %d'}}</time></div>
</div>
{{page.content | markdownify}}
<div class="page-footer">
<div class="page-tag">
<span>Tags:</span>
{% for tag in page.tags %}
<a href="{{site.baseurl}}/tags#{{tag}}" class="tag">| {{ tag }}</a>
{% endfor %}
</div><!-- End Tags -->
<div class="page-share">
<span>Share:</span>
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}" title="Share on Twitter" rel="nofollow" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
<a href="https://facebook.com/sharer.php?u={{ site.url }}{{ page.url }}" title="Share on Facebook" rel="nofollow" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a>
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" title="Share on Google+" rel="nofollow" target="_blank"><i class="fa fa-google" aria-hidden="true"></i></a>
</div><!-- End Share -->
</div>
{% include author-box.html %}
{% include recent-post.html %}
{% include newsletter.html %}
{% include disqus.html %}
</div>
</div> <!-- End Wrapper -->
</article>
{% include search.html %}
{% include footer.html %}
</div>