forked from phillipadsmith/phillipadsmith.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (91 loc) · 4.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
layout: default
title: Digital publishing consultant, online advocacy specialist, and strategic convener.
dek: 'Description'
summary: 'Summary'
img_lrg: '/ui/img/phillipadsmith-500x500.jpg'
tags:
- cool
- as
- shit
body:
- frontpage
---
{% for page in site.tags.frontpage %}
{% if forloop.first %}
<article itemscope itemtype="http://schema.org/BlogPosting">
<script>
var disqus_shortname = 'phillipadsmith';
var disqus_title = "{{ page.title }}"
var disqus_url = '{{ site.url }}{{ page.url }}';
var disqus_identifier = '{{ page.id }}';
var img_opt = '{{ page.img_opt }}';
var img_sml = '{{ page.img_sml }}';
var img_med = '{{ page.img_med }}';
var img_lrg = '{{ page.img_lrg }}';
var img_xlg = '{{ page.img_xlg }}';
</script>
{% if page.img_opt == 'cover' %}
<div class="img_cover" style="background: url('{{ page.img_sml }}') no-repeat top center; background-size:cover;">
{% endif %}
<div class="container {% if page.img_opt == 'cover' %}cover{% endif %}">
{% include module_avatar_plus_bio_short.html %}
<div class="section">
{% if page.img_opt == 'inline' %}
<div class="img_inline">
<span data-picture data-alt="{{ page.img_alt }}">
<span class="responsive sm" data-src="{{ page.img_sml }}"></span>
<span class="responsive med" data-src="{{ page.img_med }}" data-media="(min-width: 400px)"></span>
<span class="responsive lrg" data-src="{{ page.img_lrg }}" data-media="(min-width: 580px)"></span>
<!--[if (lt IE 9) & (!IEMobile)]>
<span class="responsive med ie" data-src="{{ page.img_lrg }}"></span>
<![endif]-->
<!-- Fallback content for non-JS browsers. Same img src as the initial, unqualified source element. -->
<noscript>
<img class="responsive noscript" src="{{ page.img_sml }}" alt="{{ page.img_alt }}">
</noscript>
</div>
{% endif %}
<header>
<hgroup>
<h6>
{% for category in page.categories %}
{% if forloop.first %}
<a href="/{{ category }}/">{{ category }}</a>
{% endif %}
{% endfor %}
</h6>
<h1><a href="{{ page.url }}" title="{{ page.title }}">{{ page.title }}</a></h1>
{% if page.dek %}
<h2 class="dek">{{ page.dek }}</h2>
{% endif %}
</hgroup>
<p class="post-meta">{{ page.date | date_to_string }}<span class="pipe"> | </span><a href="#disqus_thread" data-toggle="collapse" data-target="#comments">No comments yet</a><span class="google-authorship"> | By <a href="https://plus.google.com/u/0/+PhillipSmithGPLUS?rel=author">{{ site.author }}</a></span>
</p>
<!-- only show this if there's a cover image -->
{% if page.img_opt == 'cover' %}
<p class="text-center scroll">
(Scroll down for a {{ page.content | reading_time }})
</p>
{% endif %}
</header>
</div> <!-- /.section -->
</div> <!-- /.container -->
{% if page.img_opt == 'cover' %}
</div> <!-- /img_cover -->
{% endif %}
<div class="container">
<div class="section">
<div id="post-content">
{{ page.content }}
</div>
<h4>About</h4>
<p class="extro">
Hi, I'm <a href="/about/">Phillip Smith</a>, a veteran <a href="/about/#consulting">digital publishing consultant</a>, <a href="/about/#advocacy">online advocacy specialist</a>, and <a href="/about#convening">strategic convener.</a>
If you enjoyed reading this, find me on <a href="https://twitter.com/phillipadsmith">Twitter</a> and I'll keep you updated.</p>
{% include module_comments.html %}
</div> <!-- /.section -->
</div> <!-- /.container -->
</article>
{% endif %}
{% endfor %}