aemi 1.0.0 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +43 -0
- data/_includes/head.html +8 -0
- data/_includes/header.html +33 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/seo.html +125 -0
- data/_includes/social.html +14 -0
- data/_layouts/default.html +20 -0
- data/_layouts/home.html +89 -0
- data/_layouts/page.html +18 -0
- data/_layouts/post.html +47 -0
- data/_sass/aemi/_base.scss +464 -0
- data/_sass/aemi/_fonts.scss +645 -0
- data/_sass/aemi/_layout.scss +523 -0
- data/_sass/aemi/_syntax-highlighting.scss +82 -0
- data/_sass/aemi/_vars.scss +167 -0
- data/_sass/aemi.scss +54 -0
- data/assets/aemi-social-icons.svg +33 -0
- data/assets/index.html +0 -0
- data/assets/main.scss +5 -0
- metadata +38 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e103cd9097ac45e86250f2af619d43a26d883801519710f5709820d004f9ef4d
|
4
|
+
data.tar.gz: 582599b25e208d71ecd5feac0b81d877c248e1dfeac69339701129a14054e799
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25ab2508c6e519ca902486fdd5e5bc1b07526fc2e11cd8b4c37b5b7ca16c8e5c98e033eafeb846d81a2442be9c1d2077ae41081aed94450f6bf643afd8141f44
|
7
|
+
data.tar.gz: cae22a328b71edcb1e1b88431db174e63b2d9af23348fe369395375c6552bfb1bc79b41f55401c78a1a9cef45713a2f89310e3afd13c4f5227f4d6aea32610a7
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<footer class="site-footer" aria-label="">
|
2
|
+
|
3
|
+
<div class="contained">
|
4
|
+
|
5
|
+
<div class="footer-header">
|
6
|
+
<a class="footer-heading" rel="author" href="{{ '/' | relative_url }}">
|
7
|
+
{% if site.logo %}
|
8
|
+
<strong class="screen-reader-text">{{ site.title | escape }}</strong>
|
9
|
+
<img src="{{ '/assets/images/logo/' | append: site.logo | relative_url }}" alt="{{ site.title | escape }}" >
|
10
|
+
{% else %}
|
11
|
+
<strong class="h2">{{ site.title | escape }}</strong>
|
12
|
+
{% endif %}
|
13
|
+
</a>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="footer-content">
|
17
|
+
<div class="footer-cell">
|
18
|
+
<ul class="contact-list">
|
19
|
+
<li class="p-name">
|
20
|
+
{%- if site.author -%}
|
21
|
+
{{ site.author | escape }}
|
22
|
+
{%- else -%}
|
23
|
+
{{ site.title | escape }}
|
24
|
+
{%- endif -%}
|
25
|
+
</li>
|
26
|
+
{%- if site.email -%}
|
27
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
28
|
+
{%- endif -%}
|
29
|
+
</ul>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<div class="footer-cell">
|
33
|
+
{%- include social.html -%}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div class="footer-cell">
|
37
|
+
<p>{{- site.colophon | escape -}}</p>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
</div>
|
42
|
+
|
43
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
{%- include seo.html -%}
|
6
|
+
<link rel="stylesheet" href="{{ '/assets/main.css' | relative_url }}">
|
7
|
+
{%- feed_meta -%}
|
8
|
+
</head>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<header class="site-header" role="banner">
|
2
|
+
|
3
|
+
<div class="site-header-wrapper contained">
|
4
|
+
{%- assign default_paths = site.pages | map: "path" -%}
|
5
|
+
{%- assign page_paths = site.header_pages | default: default_paths -%}
|
6
|
+
<a class="site-title" rel="author" href="{{ '/' | relative_url }}">
|
7
|
+
{% if site.logo %}
|
8
|
+
<img src="{{ '/assets/images/logo/' | append: site.logo | relative_url }}" alt="{{ site.title | escape }}" >
|
9
|
+
{% else %}
|
10
|
+
{{ site.title | escape }}
|
11
|
+
{% endif %}
|
12
|
+
</a>
|
13
|
+
|
14
|
+
{%- if page_paths -%}
|
15
|
+
<nav class="site-nav">
|
16
|
+
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
|
17
|
+
<label for="nav-trigger">
|
18
|
+
<span class="menu-icon" data-open-text="Menu" data-close-text="Close"></span>
|
19
|
+
</label>
|
20
|
+
|
21
|
+
<div class="trigger">
|
22
|
+
{%- for path in page_paths -%}
|
23
|
+
{%- assign my_page = site.pages | where: "path", path | first -%}
|
24
|
+
{%- if my_page.title -%}
|
25
|
+
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
|
26
|
+
{%- endif -%}
|
27
|
+
{%- endfor -%}
|
28
|
+
</div>
|
29
|
+
</nav>
|
30
|
+
{%- endif -%}
|
31
|
+
</div>
|
32
|
+
</header>
|
33
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
|
data/_includes/seo.html
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
{% if seo_tag.title %}
|
2
|
+
<title>{{ seo_tag.title }}</title>
|
3
|
+
{% endif %}
|
4
|
+
|
5
|
+
{% if seo_tag.page_title %}
|
6
|
+
<meta property="og:title" content="{{ seo_tag.page_title }}" />
|
7
|
+
{% endif %}
|
8
|
+
|
9
|
+
{% if seo_tag.author.name %}
|
10
|
+
<meta name="author" content="{{ seo_tag.author.name }}" />
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<meta property="og:locale" content="{{ seo_tag.page_locale }}" />
|
14
|
+
|
15
|
+
{% if seo_tag.description %}
|
16
|
+
<meta name="description" content="{{ seo_tag.description }}" />
|
17
|
+
<meta property="og:description" content="{{ seo_tag.description }}" />
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if site.url %}
|
21
|
+
<link rel="canonical" href="{{ seo_tag.canonical_url }}" />
|
22
|
+
<meta property="og:url" content="{{ seo_tag.canonical_url }}" />
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% if seo_tag.site_title %}
|
26
|
+
<meta property="og:site_name" content="{{ seo_tag.site_title }}" />
|
27
|
+
{% endif %}
|
28
|
+
|
29
|
+
{% if seo_tag.image %}
|
30
|
+
<meta property="og:image" content="{{ seo_tag.image.path }}" />
|
31
|
+
{% if seo_tag.image.height %}
|
32
|
+
<meta property="og:image:height" content="{{ seo_tag.image.height }}" />
|
33
|
+
{% endif %}
|
34
|
+
{% if seo_tag.image.width %}
|
35
|
+
<meta property="og:image:width" content="{{ seo_tag.image.width }}" />
|
36
|
+
{% endif %}
|
37
|
+
{% if seo_tag.image.alt %}
|
38
|
+
<meta property="og:image:alt" content="{{ seo_tag.image.alt }}" />
|
39
|
+
{% endif %}
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
{% if page.date %}
|
43
|
+
<meta property="og:type" content="article" />
|
44
|
+
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
|
45
|
+
{% else %}
|
46
|
+
<meta property="og:type" content="website" />
|
47
|
+
{% endif %}
|
48
|
+
|
49
|
+
{% if paginator.previous_page %}
|
50
|
+
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}" />
|
51
|
+
{% endif %}
|
52
|
+
{% if paginator.next_page %}
|
53
|
+
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}" />
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% if seo_tag.image %}
|
57
|
+
<meta name="twitter:card" content="{{ page.twitter.card | default: site.twitter.card | default: 'summary_large_image' }}" />
|
58
|
+
<meta property="twitter:image" content="{{ seo_tag.image.path }}" />
|
59
|
+
{% else %}
|
60
|
+
<meta name="twitter:card" content="summary" />
|
61
|
+
{% endif %}
|
62
|
+
|
63
|
+
{% if seo_tag.image.alt %}
|
64
|
+
<meta name="twitter:image:alt" content="{{ seo_tag.image.alt }}" />
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
{% if seo_tag.page_title %}
|
68
|
+
<meta property="twitter:title" content="{{ seo_tag.page_title }}" />
|
69
|
+
{% endif %}
|
70
|
+
|
71
|
+
{% if site.twitter %}
|
72
|
+
<meta name="twitter:site" content="@{{ site.twitter.username | remove:'@' }}" />
|
73
|
+
|
74
|
+
{% if seo_tag.author.twitter %}
|
75
|
+
<meta name="twitter:creator" content="@{{ seo_tag.author.twitter | remove:'@' }}" />
|
76
|
+
{% endif %}
|
77
|
+
{% endif %}
|
78
|
+
|
79
|
+
{% if site.facebook %}
|
80
|
+
{% if site.facebook.admins %}
|
81
|
+
<meta property="fb:admins" content="{{ site.facebook.admins }}" />
|
82
|
+
{% endif %}
|
83
|
+
|
84
|
+
{% if site.facebook.publisher %}
|
85
|
+
<meta property="article:publisher" content="{{ site.facebook.publisher }}" />
|
86
|
+
{% endif %}
|
87
|
+
|
88
|
+
{% if site.facebook.app_id %}
|
89
|
+
<meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
|
90
|
+
{% endif %}
|
91
|
+
{% endif %}
|
92
|
+
|
93
|
+
{% if site.webmaster_verifications %}
|
94
|
+
{% if site.webmaster_verifications.google %}
|
95
|
+
<meta name="google-site-verification" content="{{ site.webmaster_verifications.google }}" />
|
96
|
+
{% endif %}
|
97
|
+
|
98
|
+
{% if site.webmaster_verifications.bing %}
|
99
|
+
<meta name="msvalidate.01" content="{{ site.webmaster_verifications.bing }}" />
|
100
|
+
{% endif %}
|
101
|
+
|
102
|
+
{% if site.webmaster_verifications.alexa %}
|
103
|
+
<meta name="alexaVerifyID" content="{{ site.webmaster_verifications.alexa }}" />
|
104
|
+
{% endif %}
|
105
|
+
|
106
|
+
{% if site.webmaster_verifications.yandex %}
|
107
|
+
<meta name="yandex-verification" content="{{ site.webmaster_verifications.yandex }}" />
|
108
|
+
{% endif %}
|
109
|
+
|
110
|
+
{% if site.webmaster_verifications.baidu %}
|
111
|
+
<meta name="baidu-site-verification" content="{{ site.webmaster_verifications.baidu }}" />
|
112
|
+
{% endif %}
|
113
|
+
|
114
|
+
{% if site.webmaster_verifications.facebook %}
|
115
|
+
<meta name="facebook-domain-verification" content="{{ site.webmaster_verifications.facebook }}" />
|
116
|
+
{% endif %}
|
117
|
+
{% elsif site.google_site_verification %}
|
118
|
+
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
119
|
+
{% endif %}
|
120
|
+
|
121
|
+
{% if seo_tag.json_ld %}
|
122
|
+
<script type="application/ld+json">
|
123
|
+
{{ seo_tag.json_ld | jsonify }}
|
124
|
+
</script>
|
125
|
+
{% endif %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<ul class="social-media-list">
|
2
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
3
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
|
4
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
5
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
6
|
+
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
9
|
+
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
10
|
+
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
12
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
13
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/aemi-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
14
|
+
</ul>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
|
10
|
+
<main class="site-content" aria-label="Content">
|
11
|
+
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
</main>
|
15
|
+
|
16
|
+
{%- include footer.html -%}
|
17
|
+
|
18
|
+
</body>
|
19
|
+
|
20
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="home contained">
|
6
|
+
|
7
|
+
{%- if page.title -%}
|
8
|
+
|
9
|
+
<header class="entry-header">
|
10
|
+
<h1 class="page-heading screen-reader-text">{{ page.title }}</h1>
|
11
|
+
</header>
|
12
|
+
|
13
|
+
{%- endif -%}
|
14
|
+
|
15
|
+
{%- if site.description -%}
|
16
|
+
|
17
|
+
<main class="entry-content no-top-margin">
|
18
|
+
|
19
|
+
{%- if site.description_tagline -%}
|
20
|
+
<p class="h0">{{ site.description_tagline }}</p>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
{%- if site.description -%}
|
24
|
+
<p class="h3 site-excerpt">{{ site.description }}</p>
|
25
|
+
{%- endif -%}
|
26
|
+
|
27
|
+
</main>
|
28
|
+
|
29
|
+
{%- else if site.content -%}
|
30
|
+
|
31
|
+
<main class="entry-content">
|
32
|
+
|
33
|
+
{{ content }}
|
34
|
+
|
35
|
+
</main>
|
36
|
+
|
37
|
+
{%- endif -%}
|
38
|
+
|
39
|
+
{%- if site.posts.size > 0 -%}
|
40
|
+
|
41
|
+
<aside class="entry-feed">
|
42
|
+
|
43
|
+
<h2 class="entry-list-heading screen-reader-text">{{ page.list_title | default: "Posts" }}</h2>
|
44
|
+
<ul class="entry-list">
|
45
|
+
|
46
|
+
{%- for post in site.posts -%}
|
47
|
+
<li>
|
48
|
+
|
49
|
+
<article class="post">
|
50
|
+
|
51
|
+
<header class="entry-header">
|
52
|
+
|
53
|
+
{% if post.thumbnail %}
|
54
|
+
<div class="entry-thumbnail"
|
55
|
+
style="background-image:url(/assets/images/thumbnails{{ post.thumbnail | relative_url }}.svg)">
|
56
|
+
</div>
|
57
|
+
{% endif %}
|
58
|
+
|
59
|
+
<a class="entry-info {% if post.thumbnail %}with-thumbnail{% endif %}"
|
60
|
+
href="{{ post.url | relative_url }}">
|
61
|
+
{%- assign date_format = site.aemi.date_format | default: "%b %-d, %Y" -%}
|
62
|
+
<span class="entry-meta">{{ post.date | date: date_format }}</span>
|
63
|
+
<h3 class="entry-link">
|
64
|
+
{{ post.title | escape }}
|
65
|
+
</h3>
|
66
|
+
</a>
|
67
|
+
</header>
|
68
|
+
|
69
|
+
{%- if site.show_excerpts -%}
|
70
|
+
<main class="entry-content">
|
71
|
+
{{ post.excerpt }}
|
72
|
+
</main>
|
73
|
+
{%- endif -%}
|
74
|
+
|
75
|
+
</article>
|
76
|
+
|
77
|
+
</li>
|
78
|
+
|
79
|
+
{%- endfor -%}
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
|
83
|
+
<!-- <p class="rss-subscribe">Subscribe <a href="{{ '/feed.xml' | relative_url }}">via RSS</a></p> -->
|
84
|
+
|
85
|
+
</aside>
|
86
|
+
|
87
|
+
{%- endif -%}
|
88
|
+
|
89
|
+
</section>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="entry page contained">
|
5
|
+
|
6
|
+
<header class="entry-header">
|
7
|
+
<h1 class="entry-title">{{ page.title | escape }}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<main class="entry-content">
|
11
|
+
{{ content }}
|
12
|
+
</main>
|
13
|
+
|
14
|
+
<footer class="entry-footer">
|
15
|
+
|
16
|
+
</footer>
|
17
|
+
|
18
|
+
</article>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="entry contained" itemscope itemtype="http://schema.org/BlogPosting">
|
6
|
+
|
7
|
+
<header class="entry-header">
|
8
|
+
|
9
|
+
{% if page.thumbnail %}
|
10
|
+
<div class="entry-thumbnail">
|
11
|
+
<img src="/assets/images/thumbnails{{ page.thumbnail | relative_url }}.svg" alt="{{ page.title }}" />
|
12
|
+
</div>
|
13
|
+
{% endif %}
|
14
|
+
|
15
|
+
<div class="entry-info {% if post.thumbnail %}with-thumbnail{% endif %}">
|
16
|
+
{%- assign date_format = site.aemi.date_format | default: "%b %-d, %Y" -%}
|
17
|
+
<div class="entry-meta">
|
18
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
19
|
+
{%- assign date_format = site.aemi.date_format | default: "%b %-d, %Y" -%}
|
20
|
+
{{ page.date | date: date_format }}
|
21
|
+
</time>
|
22
|
+
{%- if page.author -%}
|
23
|
+
—<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author }}</span></span>
|
24
|
+
{%- else if page.authors -%}
|
25
|
+
—
|
26
|
+
{%- for author in page.authors -%}
|
27
|
+
{%- if forloop.index != 1 -%}
|
28
|
+
, <span itemprop="co-author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
29
|
+
{%- else -%}
|
30
|
+
<span itemprop="co-author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ author }}</span></span>
|
31
|
+
{%- endif -%}
|
32
|
+
{%- endfor -%}
|
33
|
+
{%- endif -%}
|
34
|
+
</div>
|
35
|
+
<h1 class="entry-title" itemprop="name headline">{{ page.title | escape }}</h1>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</header>
|
39
|
+
|
40
|
+
<main class="entry-content" itemprop="articleBody">
|
41
|
+
{{ content }}
|
42
|
+
</main>
|
43
|
+
|
44
|
+
<footer>
|
45
|
+
</footer>
|
46
|
+
|
47
|
+
</article>
|