jekyll-theme-editorial 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/404.html +6 -0
- data/LICENSE.txt +63 -0
- data/README.md +1213 -0
- data/_config.yml +306 -0
- data/_data/categories.yml +38 -0
- data/_data/comments/posts/amet-varius-aliquam/20200511110657-jimbob-hexagonpants.yml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200513010934-isabella-roundtoes.yml +15 -0
- data/_data/comments/posts/amet-varius-aliquam/20200514191919-hakira-tusunaba.yaml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200515235959-jimbob-hexagonpants.yml +8 -0
- data/_data/features.yml +15 -0
- data/_data/menus.yml +42 -0
- data/_data/scripts.yml +13 -0
- data/_data/social.yml +140 -0
- data/_data/tags.yml +50 -0
- data/_data/taxonomy.yml +87 -0
- data/_includes/404.html +20 -0
- data/_includes/archives_menu.html +61 -0
- data/_includes/article.html +47 -0
- data/_includes/articles.html +42 -0
- data/_includes/author.html +73 -0
- data/_includes/authors.html +21 -0
- data/_includes/authors_byline.html +63 -0
- data/_includes/banner.html +10 -0
- data/_includes/categories.html +15 -0
- data/_includes/comment.html +43 -0
- data/_includes/comment_form.html +43 -0
- data/_includes/comments.html +20 -0
- data/_includes/contact.html +42 -0
- data/_includes/custom_head.html +6 -0
- data/_includes/date_modified.html +6 -0
- data/_includes/disqus_comments.html +19 -0
- data/_includes/feature.html +7 -0
- data/_includes/features.html +10 -0
- data/_includes/footer.html +4 -0
- data/_includes/head.html +20 -0
- data/_includes/item_authors.html +27 -0
- data/_includes/item_date.html +32 -0
- data/_includes/item_image.html +30 -0
- data/_includes/list_item.html +12 -0
- data/_includes/menu.html +110 -0
- data/_includes/mini-posts.html +32 -0
- data/_includes/modal.html +12 -0
- data/_includes/more_button.html +3 -0
- data/_includes/newsletter_signup.html +22 -0
- data/_includes/page_header.html +77 -0
- data/_includes/pages.html +79 -0
- data/_includes/pagination.html +22 -0
- data/_includes/post_header.html +52 -0
- data/_includes/post_nav.html +14 -0
- data/_includes/posts.html +62 -0
- data/_includes/projects.html +90 -0
- data/_includes/responsive_banner.html +20 -0
- data/_includes/scripts.html +22 -0
- data/_includes/search.html +11 -0
- data/_includes/section_header.html +3 -0
- data/_includes/series.html +32 -0
- data/_includes/sidebar.html +11 -0
- data/_includes/signin_button.html +4 -0
- data/_includes/site_header.html +9 -0
- data/_includes/social_media.html +14 -0
- data/_includes/social_media_list.html +14 -0
- data/_includes/submenu.html +25 -0
- data/_includes/tags.html +15 -0
- data/_layouts/archive.html +32 -0
- data/_layouts/author.html +19 -0
- data/_layouts/category.html +23 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +6 -0
- data/_layouts/page.html +16 -0
- data/_layouts/post.html +35 -0
- data/_layouts/project.html +24 -0
- data/_layouts/tag.html +23 -0
- data/_pages/about.md +37 -0
- data/_pages/archives.html +134 -0
- data/_pages/categories.html +94 -0
- data/_pages/elements.html +403 -0
- data/_pages/people.html +26 -0
- data/_pages/posts.html +11 -0
- data/_pages/privacy.md +52 -0
- data/_pages/projects.html +9 -0
- data/_pages/signin.md +31 -0
- data/_pages/tags.html +133 -0
- data/_pages/terms.md +44 -0
- data/_people/augustus.md +27 -0
- data/_people/aurelius.md +29 -0
- data/_people/julia.md +36 -0
- data/_people/petunia.md +26 -0
- data/_posts/2020-01-01-Interdum-aenean.md +47 -0
- data/_posts/2020-01-02-mulla-amet-dolore.md +38 -0
- data/_posts/2020-01-03-tempus-ullamcorper.md +122 -0
- data/_posts/2020-01-04-feugiat-lorem-aenean.md +35 -0
- data/_posts/2020-01-04-sed-etiam-facilis.md +72 -0
- data/_posts/2020-02-01-amet-varius-aliquam.md +27 -0
- data/_posts/2020-02-03-cranky-polar-bears-play-hooky-from-fishing-school.md +35 -0
- data/_posts/2020-02-07-high-septon-or-should-we-all-just-go-marching-along.md +43 -0
- data/_posts/2020-02-14-stupid-computers-and-the-games-they-play-with-our-emotions.md +30 -0
- data/_posts/2020-02-28-look-at-my-great-tatoos-everybody.md +31 -0
- data/_projects/feugiat_valley.md +32 -0
- data/_projects/ipsum_flats.md +42 -0
- data/_projects/lorem_heights.md +36 -0
- data/_projects/tempus_hills.md +37 -0
- data/_samples/page-template.md +48 -0
- data/_samples/people-template.md +51 -0
- data/_samples/post-template.md +38 -0
- data/_samples/project-template.md +47 -0
- data/_sass/base/_page.scss +42 -0
- data/_sass/base/_reset.scss +70 -0
- data/_sass/base/_typography.scss +186 -0
- data/_sass/components/_actions.scss +57 -0
- data/_sass/components/_box.scss +20 -0
- data/_sass/components/_button.scss +79 -0
- data/_sass/components/_contact.scss +41 -0
- data/_sass/components/_features.scss +150 -0
- data/_sass/components/_form.scss +173 -0
- data/_sass/components/_icon.scss +27 -0
- data/_sass/components/_icons.scss +24 -0
- data/_sass/components/_image.scss +68 -0
- data/_sass/components/_list.scss +50 -0
- data/_sass/components/_mini-posts.scss +25 -0
- data/_sass/components/_pagination.scss +64 -0
- data/_sass/components/_posts.scss +173 -0
- data/_sass/components/_row.scss +25 -0
- data/_sass/components/_section.scss +39 -0
- data/_sass/components/_table.scss +75 -0
- data/_sass/layout/_banner.scss +69 -0
- data/_sass/layout/_footer.scss +12 -0
- data/_sass/layout/_header.scss +54 -0
- data/_sass/layout/_main.scss +67 -0
- data/_sass/layout/_menu.scss +92 -0
- data/_sass/layout/_sidebar.scss +217 -0
- data/_sass/layout/_wrapper.scss +7 -0
- data/_sass/libs/_breakpoints.scss +223 -0
- data/_sass/libs/_functions.scss +90 -0
- data/_sass/libs/_html-grid.scss +149 -0
- data/_sass/libs/_mixins.scss +78 -0
- data/_sass/libs/_vars.scss +44 -0
- data/_sass/libs/_vendor.scss +376 -0
- data/_sass/main.scss +61 -0
- data/assets/css/fontawesome-all.min.css +7 -0
- data/assets/css/fonts.css +140 -0
- data/assets/css/github.css +61 -0
- data/assets/css/main.css +2276 -0
- data/assets/css/user.css +640 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/pic01-thumb.jpg +0 -0
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03-thumb.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05-avatar.jpg +0 -0
- data/assets/images/pic05-thumb.jpg +0 -0
- data/assets/images/pic05.jpg +0 -0
- data/assets/images/pic06.jpg +0 -0
- data/assets/images/pic07.jpg +0 -0
- data/assets/images/pic08.jpg +0 -0
- data/assets/images/pic09.jpg +0 -0
- data/assets/images/pic10.jpg +0 -0
- data/assets/images/pic11.jpg +0 -0
- data/assets/images/placeholder.png +0 -0
- data/assets/js/breakpoints.min.js +2 -0
- data/assets/js/browser.min.js +2 -0
- data/assets/js/comments.js +189 -0
- data/assets/js/email-obfuscation.js +54 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/main.js +263 -0
- data/assets/js/util.js +592 -0
- data/assets/webfonts/OpenSans-Bold.eot +0 -0
- data/assets/webfonts/OpenSans-Bold.svg +21062 -0
- data/assets/webfonts/OpenSans-Bold.ttf +0 -0
- data/assets/webfonts/OpenSans-Bold.woff +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.svg +21121 -0
- data/assets/webfonts/OpenSans-BoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Italic.eot +0 -0
- data/assets/webfonts/OpenSans-Italic.svg +21164 -0
- data/assets/webfonts/OpenSans-Italic.ttf +0 -0
- data/assets/webfonts/OpenSans-Italic.woff +0 -0
- data/assets/webfonts/OpenSans-Light.eot +0 -0
- data/assets/webfonts/OpenSans-Light.svg +21034 -0
- data/assets/webfonts/OpenSans-Light.ttf +0 -0
- data/assets/webfonts/OpenSans-Light.woff +0 -0
- data/assets/webfonts/OpenSans-LightItalic.eot +0 -0
- data/assets/webfonts/OpenSans-LightItalic.svg +21161 -0
- data/assets/webfonts/OpenSans-LightItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-LightItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Regular.eot +0 -0
- data/assets/webfonts/OpenSans-Regular.svg +21064 -0
- data/assets/webfonts/OpenSans-Regular.ttf +0 -0
- data/assets/webfonts/OpenSans-Regular.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBold.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBold.svg +21055 -0
- data/assets/webfonts/OpenSans-SemiBold.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBold.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.svg +21154 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.eot +0 -0
- data/assets/webfonts/RobotoSlab-Bold.svg +334 -0
- data/assets/webfonts/RobotoSlab-Bold.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff2 +0 -0
- data/assets/webfonts/RobotoSlab-Regular +0 -0
- data/assets/webfonts/RobotoSlab-Regular.svg +337 -0
- data/assets/webfonts/RobotoSlab-Regular.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +3633 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.eot +0 -0
- data/assets/webfonts/fa-regular-400.svg +803 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.eot +0 -0
- data/assets/webfonts/fa-solid-900.svg +5000 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- data/favicon-apple-touch-114.png +0 -0
- data/favicon-apple-touch-144.png +0 -0
- data/favicon.icns +0 -0
- data/favicon.ico +0 -0
- data/favicon.png +0 -0
- data/index.md +28 -0
- data/robots.txt +8 -0
- data/staticman.yml +109 -0
- metadata +347 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
<!-- Post Header -->
|
2
|
+
{%-assign peeps = site.collections | find: "label", 'people'-%}
|
3
|
+
{%-assign authors = include.author | default: page.author-%}
|
4
|
+
{%-assign page_title = include.page_title | default: page.title-%}
|
5
|
+
{%-assign subtitle = include.subtitle | default: page.subtitle-%}
|
6
|
+
{%-assign post_date = include.date | default: page.date-%}
|
7
|
+
{%-assign modified_date = include.modified_date | default: page.modified_date | default: page.last_modified_at-%}
|
8
|
+
{%-assign date_format = site.date_format | default: '%^A, %b %-d, %Y'-%}
|
9
|
+
{%-assign byline_prefix = include.byline_prefix | default: "By "-%}
|
10
|
+
|
11
|
+
{%-if modified_date-%}
|
12
|
+
{% include date_modified.html date_format='%b %-d, %Y' lead_in='last modified: '-%}
|
13
|
+
{%-endif %}
|
14
|
+
<div class="post-meta">
|
15
|
+
{%-if include.categories or page.categories %}
|
16
|
+
{% include categories.html %}
|
17
|
+
{%-endif-%}
|
18
|
+
{% if post_date %}
|
19
|
+
<!-- Post Date -->
|
20
|
+
{% include item_date.html item_date=post_date date_class='dateline align-right' date_format=date_format %}
|
21
|
+
{%-endif %}
|
22
|
+
</div>
|
23
|
+
<header class="tight main">
|
24
|
+
<!-- Post Title -->
|
25
|
+
<h1 class="p-name" itemprop="name headline">
|
26
|
+
{%-if page.website and page.website != "" %}
|
27
|
+
<a href="{{-page.website-}}" rel="external" title="Go to {{ page_title-}}'s website: {{ page.website-}}">{{-page_title-}}</a>
|
28
|
+
{%-else-%}
|
29
|
+
{{-page_title-}}
|
30
|
+
{%-endif %}
|
31
|
+
</h1>
|
32
|
+
{%-if include.subtitle or page.subtitle %}
|
33
|
+
<!-- Post Subtitle -->
|
34
|
+
<p class="subtitle">{{-subtitle-}}</p>
|
35
|
+
{%-endif %}
|
36
|
+
</header>
|
37
|
+
{%-if page.image or page.images %}
|
38
|
+
{% include banner.html %}
|
39
|
+
{%-endif %}
|
40
|
+
{%-if authors or page.location or site.title %}
|
41
|
+
<!-- Post Byline -->
|
42
|
+
<div class="snug byline">
|
43
|
+
{%-if page.location %}
|
44
|
+
<span class="p-location">{{-page.location-}}</span>
|
45
|
+
{%-assign byline_prefix = " | "-%}
|
46
|
+
{%-endif %}
|
47
|
+
{%-if site.show.authors-%}
|
48
|
+
{%-if authors %}{{ byline_prefix }}{%-endif %}
|
49
|
+
{% include authors_byline.html %}
|
50
|
+
{%-endif %}
|
51
|
+
</div>
|
52
|
+
{%-endif %}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!-- Post Navigation -->
|
2
|
+
<div class="post-nav">
|
3
|
+
{% if page.previous-%}
|
4
|
+
<span class="align-left icon solid fa-angle-double-left"> <a href="{{-page.previous.url-}}" rel="previous" title="Previous post">{{-page.previous.title-}}</a></span>
|
5
|
+
{%-else-%}
|
6
|
+
<span> </span>
|
7
|
+
{% endif-%}
|
8
|
+
<span class="align-center"><a rel="up index" href="/posts/">All Posts</a></span>
|
9
|
+
<span class="align-right">
|
10
|
+
{%-if page.next-%}
|
11
|
+
<a href="{{-page.next.url-}}" rel="next" title="Next post">{{-page.next.title-}}</a> <i class="icon solid fa-angle-double-right"></i>
|
12
|
+
{%-endif-%}
|
13
|
+
</span>
|
14
|
+
</div>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{%-assign peeps = site.collections | find: "label", 'people'-%}
|
2
|
+
{%-assign placeholder = site.static_files | find: 'name', 'placeholder.png'-%}
|
3
|
+
{% if paginator.posts != nil and site.paginate %}
|
4
|
+
{% assign posts = paginator.posts %}
|
5
|
+
{% elsif page.layout == "page" %}
|
6
|
+
{% assign posts = site.posts %}
|
7
|
+
{% else %}
|
8
|
+
{% assign posts = page.posts %}
|
9
|
+
{% endif %}
|
10
|
+
|
11
|
+
{% for post in posts %}
|
12
|
+
<article itemid="{{-post.url|absolute_url-}}" class="h-entry post-card row gtr-50 gtr-uniform" itemscope itemtype="http://schema.org/BlogPosting">
|
13
|
+
{% if image or placeholder.name-%}
|
14
|
+
<div class="col-4 col-12-small">
|
15
|
+
<figure>
|
16
|
+
<a href="{{-post.url-}}" class="image fit" title="Read '{{-post.title-}}'">
|
17
|
+
{% include item_image.html %}
|
18
|
+
</a>
|
19
|
+
</figure>
|
20
|
+
<div class="snug smaller categories">{%-include categories.html %}</div>
|
21
|
+
{%-if post.series %}
|
22
|
+
<div class="snug series">{{-post.series | replace: '-',' ' | capitalize-}}</div>
|
23
|
+
{%-endif %}
|
24
|
+
</div>
|
25
|
+
{%-endif %}
|
26
|
+
<div class="col-8 col-12-small">
|
27
|
+
{%-assign modified_date = post.modified_date | default: post.last_modified_at-%}
|
28
|
+
{%-if modified_date-%}
|
29
|
+
{% include date_modified.html item_date=modified_date lead_in='last modified: '-%}
|
30
|
+
{%-endif %}
|
31
|
+
<header class="tight">
|
32
|
+
<span class="header-aside">{% include item_date.html %}</span>
|
33
|
+
<h3><a href="{{-post.url-}}" itemprop="headline" class="u-url p-name" title="Read '{{-post.title-}}'">{{-post.title-}}</a></h3>
|
34
|
+
{% if post.subtitle-%}<p class="subtitle p-subtitle" itemprop="alternativeHeadline">{{-post.subtitle-}}</p>{%-endif %}
|
35
|
+
<p class="byline">
|
36
|
+
{%-if site.show.authors-%}
|
37
|
+
{%-for auth in post.author-%}
|
38
|
+
{%-assign author = site.people | find: 'handle', auth-%}
|
39
|
+
{%-if author.published and peeps.output-%}
|
40
|
+
<a href="{{-author.url-}}" rel="author" itemprop="author" class="u-author p-author" title="Read {{ author.name | split: ' ' | first-}}'s bio">{{-author.name-}}</a>
|
41
|
+
{%-elsif author.published-%}
|
42
|
+
<span itemprop="author" class="p-author">{{-author.name-}}</span>
|
43
|
+
{%-else-%}
|
44
|
+
<span itemprop="author" class="p-author">{{-auth-}}</span>
|
45
|
+
{%-endif-%}
|
46
|
+
{%-unless forloop.last %}, {% endunless-%}
|
47
|
+
{%-else-%}
|
48
|
+
<span itemprop="author" class="p-author">{{-site.title-}}</span>
|
49
|
+
{%-endfor-%}
|
50
|
+
{%-if post.location and post.author or site.title-%}{{-" | "-}}{%-endif-%}
|
51
|
+
{%-endif-%}
|
52
|
+
{%-if post.location-%}
|
53
|
+
<span class="p-location" itemprop="location" title="Post location">{{-post.location-}}</span>
|
54
|
+
{%-endif-%}
|
55
|
+
</p>
|
56
|
+
</header>
|
57
|
+
<p class="summary" itemprop="abstract" class="p-summary">{{-post.excerpt | strip_html-}}</p>
|
58
|
+
{%-include tags.html %}
|
59
|
+
</div>
|
60
|
+
</article>
|
61
|
+
<hr class="major"/>
|
62
|
+
{% endfor %}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
lists projects as section cards given a projects hash
|
3
|
+
|
4
|
+
inputs: none
|
5
|
+
dependencies:
|
6
|
+
projects the projects to render
|
7
|
+
site.projects used as the default if `projects` isn't available already
|
8
|
+
site.static_files lookup and make sure a placeholder.png file exists
|
9
|
+
site.show.authors used to determine whether to show authors
|
10
|
+
site.show.project_authors used to determine whether to show authors
|
11
|
+
site.people lookup authors in the people array
|
12
|
+
site.title use as the author, as a last resort
|
13
|
+
local:
|
14
|
+
projects default to site.projects if not already provided
|
15
|
+
published_projects projects filtered for `published==true`
|
16
|
+
placeholder placeholder.png file to use in case no other page image is available
|
17
|
+
auth the author's handle, used for unpublished authors in place of their name
|
18
|
+
author the looked-up author in site.people
|
19
|
+
{%-endcomment-%}
|
20
|
+
|
21
|
+
{%-if page.layout == "page"-%}
|
22
|
+
{%-assign projects = site.projects-%}
|
23
|
+
{%-endif-%}
|
24
|
+
{%-assign published_projects = projects | where: 'published', true-%}
|
25
|
+
|
26
|
+
{%-if published_projects != empty %}
|
27
|
+
{%-for project in published_projects %}
|
28
|
+
{%-if project.published %}
|
29
|
+
<article itemid="{{-project.url|absolute_url-}}" class="h-entry project-card row gtr-50 gtr-uniform" itemscope itemtype="http://schema.org/Article">
|
30
|
+
{% if project.images-%}
|
31
|
+
<div class="col-4 col-12-small">
|
32
|
+
<figure>
|
33
|
+
<a href="{{-project.url-}}" class="image fit" title="Learn more about '{{-project.title-}}'">
|
34
|
+
{% include item_image.html-%}
|
35
|
+
</a>
|
36
|
+
</figure>
|
37
|
+
<div class="snug smaller categories">{%-include categories.html %}</div>
|
38
|
+
{%-if project.series %}
|
39
|
+
<div class="snug series" title="This project is part of a series">{{ project.series | replace: '-',' ' | split: " " | join: "-----" | camelcase | split: "-----" | join: " "-}}</div>
|
40
|
+
{%-endif %}
|
41
|
+
</div>
|
42
|
+
{%-endif %}
|
43
|
+
<div class="col-8 col-12-small">
|
44
|
+
{%-assign modified_date = project.modified_date | default: project.last_modified_at-%}
|
45
|
+
{%-if modified_date-%}
|
46
|
+
{% include date_modified.html item_date=modified_date lead_in='last modified: '-%}
|
47
|
+
{%-endif %}
|
48
|
+
<header class="tight">
|
49
|
+
<span class="header-aside">{% include item_date.html %}</span>
|
50
|
+
<h3><a href="{{-project.url-}}" itemprop="name" class="u-url p-name" title="Learn more about '{{-project.title-}}'">{{-project.title-}}</a></h3>
|
51
|
+
<p class="subtitle p-subtitle" itemprop="alternativeHeadline">{{-project.subtitle-}}</p>
|
52
|
+
{%-if site.show.project_authors and site.show.authors and project.author or project.location-%}
|
53
|
+
<p class="byline">
|
54
|
+
{%-if site.show.authors %}
|
55
|
+
{%-for auth in project.author-%}
|
56
|
+
{%-assign author = site.people | find: 'handle', auth-%}
|
57
|
+
{%-if author.published and author.url-%}
|
58
|
+
<a href="{{-author.url-}}" rel="author" itemprop="author" class="u-author p-author" title="Read {{ author.name | split: ' ' | first-}}'s bio">{{-author.name-}}</a>
|
59
|
+
{%-elsif author.published-%}
|
60
|
+
<span itemprop="author" class="p-author">{{-author.name-}}</span>
|
61
|
+
{%-else-%}
|
62
|
+
<span itemprop="author" class="p-author">{{-auth-}}</span>
|
63
|
+
{%-endif-%}
|
64
|
+
{%-unless forloop.last %}, {% endunless-%}
|
65
|
+
{%-else-%}
|
66
|
+
<span itemprop="author" class="p-author">{{-site.title-}}</span>
|
67
|
+
{%-endfor-%}
|
68
|
+
{%-if project.location and project.author or site.title-%}{{-" | "-}}{%-endif-%}
|
69
|
+
{%-endif %}
|
70
|
+
{%-if project.location %}
|
71
|
+
<span class="p-location" itemprop="location" title="Post location">{{-project.location-}}</span>
|
72
|
+
{%-endif %}
|
73
|
+
</p>
|
74
|
+
{%-endif-%}
|
75
|
+
</header>
|
76
|
+
{% if include.summary or project.summary or project.excerpt-%}
|
77
|
+
<div class="summary p-summary" itemprop="abstract">
|
78
|
+
{{-include.summary | default: project.summary | default: project.excerpt | markdownify-}}
|
79
|
+
</div>
|
80
|
+
{%-endif %}
|
81
|
+
{%-include tags.html %}
|
82
|
+
</div>
|
83
|
+
</article>
|
84
|
+
<hr class="major"/>
|
85
|
+
{% endif %}
|
86
|
+
{% endfor %}
|
87
|
+
{% else %}
|
88
|
+
<h2>Oof!</h2>
|
89
|
+
<p>It looks like there aren't any published projects here yet. Might you bug the site owner to create one for your look-see?</p>
|
90
|
+
{% endif %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
uses parent page settings or a special parent page.banner hash for more flexibility & specificity
|
3
|
+
(parent) page: [title, subtitle, description, etc.]
|
4
|
+
banner: [header, subheader, content, etc.]
|
5
|
+
{%-endcomment-%}
|
6
|
+
<section id="banner">
|
7
|
+
<div class="content">
|
8
|
+
<header>
|
9
|
+
<h1>{{-page.banner.header | default: page.title | default: site.title-}}</h1>
|
10
|
+
<p>{{-page.banner.subheader | default: page.subtitle | default: site.tagline-}}</p>
|
11
|
+
</header>
|
12
|
+
<p>{{-page.banner.content | default: page.description | default: site.description-}}</p>
|
13
|
+
<ul class="actions">
|
14
|
+
<li><a href="{{-page.banner.url | default: site.url-}}" title="{{-page.banner.link_title-}}" class="button big">{{-page.banner.button_text-}}</a></li>
|
15
|
+
</ul>
|
16
|
+
</div>
|
17
|
+
<figure class="image object">
|
18
|
+
<img src="{{-site.image_path-}}{{-page.banner.image | default: page.images.banner.file | default: page.images.banner | default: page.image-}}" alt="{{-page.banner.alt_text | default: page.images.banner.alt_text | default: page.images.alt_text | default: page.alt_text-}}" title="{{-page.banner.image_title | default: page.images.banner.title | default: page.images.title | default: page.image_title-}}"/>
|
19
|
+
</figure>
|
20
|
+
</section>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
use `site.scripts` if `_data/scripts.yml` is not present, since theme data
|
3
|
+
files aren't generally available to sites
|
4
|
+
{%-endcomment-%}
|
5
|
+
|
6
|
+
{%-assign scripts = site.data.scripts | default: site.scripts-%}
|
7
|
+
{% for script in scripts-%}
|
8
|
+
{%-if script.type %}
|
9
|
+
{% assign script_type = script.type | prepend: " type='" | append: "'" %}
|
10
|
+
{% else %}
|
11
|
+
{%-assign script_type = "" %}
|
12
|
+
{%-endif %}
|
13
|
+
<script src="{{-script.path | default: site.script_path-}}{{-script.file-}}"{{ script_type-}}></script>
|
14
|
+
{%-endfor %}
|
15
|
+
{%-if site.analytics.goatcounter.code != "" and site.analytics.goatcounter.code %}
|
16
|
+
{%-if site.analytics.goatcounter.allow_local %}
|
17
|
+
<script type="text/javascript">
|
18
|
+
window.goatcounter = { allow_local: true }
|
19
|
+
</script>
|
20
|
+
{%-endif %}
|
21
|
+
<script data-goatcounter="https://{{-site.analytics.goatcounter.code-}}.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
|
22
|
+
{%-endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{%-assign search_url = include.search_url | default: site.search.url | default: "/search"-%}
|
2
|
+
{%-assign form_method = include.form_method | default: site.search.form_method | default: "post"-%}
|
3
|
+
{%-assign field_id = include.field_id | default: site.search.field_id | default: "query"-%}
|
4
|
+
{%-assign field_name = include.field_name | default: site.search.field_name | default: "search"-%}
|
5
|
+
{%-assign placeholder = include.placeholder | default: site.search.placeholder | default: "Search"-%}
|
6
|
+
<!-- Section - Search -->
|
7
|
+
<section id="search" class="alt">
|
8
|
+
<form method="{{-form_method-}}" action="{{-search_url-}}">
|
9
|
+
<input type="text" name="{{-field_name-}}" id="{{-field_id-}}" placeholder="{{-placeholder-}}" />
|
10
|
+
</form>
|
11
|
+
</section> <!-- End Section - Search -->
|
@@ -0,0 +1,32 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
via https://riaanhanekom.com/2018/03/01/setting-up-jekyll-related-posts-and-series
|
3
|
+
NOTE: liquid append-remove trick (`-@$remove@me`) inspired by https://vsoch.github.io/2019/jekyll-lists/
|
4
|
+
{%-endcomment-%}
|
5
|
+
|
6
|
+
{%-if page.series-%}
|
7
|
+
{%-case page.type-%}
|
8
|
+
{%-when 'posts'-%} {%-assign series_collection = site.posts-%}
|
9
|
+
{%-when 'projects'-%} {%-assign series_collection = site.projects-%}
|
10
|
+
{%-when 'pages'-%} {%-assign series_collection = site.pages-%}
|
11
|
+
{%-when 'people'-%} {%-assign series_collection = site.people-%}
|
12
|
+
{%-endcase-%}
|
13
|
+
{%-assign series = series_collection | where_exp: 'item', "item.series == page.series and item.published == true" | sort: 'date' %}
|
14
|
+
<!-- Series Aside -->
|
15
|
+
<aside class="series">
|
16
|
+
<header>
|
17
|
+
{% assign series_titles = series | find: title, page.title | map: 'title'-%}
|
18
|
+
<h3>{{ page.series | replace: '-',' ' | capitalize }} <span class="header-aside"> - {% if page.type=='people'-%}group{%-else-%}{{ include.series_type | default: page.type | append: "-@$remove@me" | remove: "s-@$remove@me" }} series</span>{%-endif-%}</h3>
|
19
|
+
</header>
|
20
|
+
<ol class="series">
|
21
|
+
{%-for item in series %}
|
22
|
+
<li{%-if item.url == page.url %} class="active"{%-endif-%}>
|
23
|
+
{%-if item.url == page.url-%}
|
24
|
+
{{-item.title-}}
|
25
|
+
{%-else-%}
|
26
|
+
<a href="{{-item.url-}}">{{-item.title-}}</a>
|
27
|
+
{%-endif-%}
|
28
|
+
</li>
|
29
|
+
{%-endfor %}
|
30
|
+
</ol>
|
31
|
+
</aside>
|
32
|
+
{%-endif %}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Sidebar -->
|
2
|
+
<div id="sidebar">
|
3
|
+
<div class="inner">
|
4
|
+
{% if site.show.search-%} {% include search.html-%} {% endif %}
|
5
|
+
{% include menu.html %}
|
6
|
+
{% if site.projects.size > 0 %} {% include mini-posts.html-%} {% endif %}
|
7
|
+
{% if site.show.contact-%} {% include contact.html-%} {% endif %}
|
8
|
+
{% if site.show.newsletter-%} {% include newsletter_signup.html-%} {% endif %}
|
9
|
+
{% include footer.html %}
|
10
|
+
</div>
|
11
|
+
</div> <!-- end Sidebar -->
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{%-assign header_url = page.header_url | default: site.url-%}
|
2
|
+
<!-- Site Header -->
|
3
|
+
<header id="header">
|
4
|
+
<a href="{{-header_url-}}" class="logo u-url"><strong>{{-site.title-}}</strong> {{ site.subtitle-}}</a>
|
5
|
+
{% include social_media_list.html %}
|
6
|
+
</header>
|
7
|
+
{% if page.layout == 'post'-%}
|
8
|
+
{%-include post_nav.html-%}
|
9
|
+
{%-endif-%}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
NOTE that lists, being block level elements by default, break out of
|
3
|
+
paragraph tags, but spans don't
|
4
|
+
{%-endcomment-%}
|
5
|
+
<!-- Social media span -->
|
6
|
+
{%-assign socials = author.social | default: page.social %}
|
7
|
+
<span class="icons">
|
8
|
+
{%-for social in socials-%}
|
9
|
+
{% assign social_site = site.data.social[social.first] %}
|
10
|
+
{%-if social.last %}
|
11
|
+
<a href="{{-social_site.pattern | replace: '%s', social.last-}}" rel="me external" class="u-url {{ social_site.icon-}}" title="Go to my {{ social_site.label }} page" target="_blank"><span class="label">{{-social_site.label-}}</span></a>
|
12
|
+
{%-endif-%}
|
13
|
+
{%-endfor-%}
|
14
|
+
</span>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
NOTE that lists, being block level elements by default, break out of
|
3
|
+
paragraph tags, but spans don't
|
4
|
+
{%-endcomment-%}
|
5
|
+
<!-- Social media list -->
|
6
|
+
{%-assign socials = site.data.social %}
|
7
|
+
<ul class="icons">
|
8
|
+
{%-for social in socials-%}
|
9
|
+
{%-assign social_site = social[1]-%}
|
10
|
+
{%-if social_site.handle %}
|
11
|
+
<li><a href="{{-social_site.pattern | replace: '%s', social_site.handle-}}" rel="me external" class="u-url {{ social_site.icon-}}" title="Go to our {{ social_site.label }} page" target="_blank"><span class="label">{{-social_site.label-}}</span></a></li>
|
12
|
+
{%-endif %}
|
13
|
+
{%-endfor %}
|
14
|
+
</ul>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{%-comment-%}
|
2
|
+
iterate over the given site collections to generate menu items
|
3
|
+
|
4
|
+
inputs:
|
5
|
+
include.parent_url the parent url, for knowing when to activate the menu item
|
6
|
+
include.parent_title the parent menu entry text
|
7
|
+
dependencies:
|
8
|
+
menu_items the submenu item collection
|
9
|
+
local:
|
10
|
+
urls array of urls of the submenu item collection
|
11
|
+
{%-endcomment-%}
|
12
|
+
|
13
|
+
{%-assign urls = menu_items | map: 'url'-%}
|
14
|
+
<li{%-if include.parent_url == page.url %} class="active"{%-endif-%}>
|
15
|
+
<span class="opener{%-if page.url contains include.parent_url or urls contains page.url %} active{%-endif-%}">
|
16
|
+
<a href="{{-include.parent_url-}}">{{-include.parent_title-}}</a>
|
17
|
+
</span>
|
18
|
+
<ul class="sub-menu">
|
19
|
+
{%-for item in menu_items limit: item_limit %}
|
20
|
+
{%-if item.published == true %}
|
21
|
+
<li{%-if item.url == page.url %} class="active"{%-endif-%}><a href="{{-item.url-}}">{{-item.name | default: item.title-}}</a></li>
|
22
|
+
{%-endif-%}
|
23
|
+
{%-endfor %}
|
24
|
+
</ul>
|
25
|
+
</li>
|
data/_includes/tags.html
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
{%-if site.plugins contains 'jekyll-archives'-%}{%-assign archives_available = true-%}{%-else-%}{%-assign archives_available = false-%}{%-endif-%}
|
2
|
+
{%-assign tags = post.tags | default: project.tags | default: pg.tags | default: item.tags | default: page.tags-%}
|
3
|
+
{%-assign include_tag_links = "posts" | split: ', '-%}
|
4
|
+
{%-if tags != empty %}
|
5
|
+
<!-- Post Tags -->
|
6
|
+
<ul class="inline tags">
|
7
|
+
{%-for tag in tags %}
|
8
|
+
{%-if archives_available and site.tags contains tag or include_tag_links contains page.collection %}
|
9
|
+
<li><a href="/tags/{{-tag | slugify-}}" rel="tag" class="pill button p-category" title="Articles tagged with '{{-tag-}}'">{{-tag-}}</a></li>
|
10
|
+
{%-else-%}
|
11
|
+
<li class="pill button p-category">{{-tag-}}</li>
|
12
|
+
{%-endif %}
|
13
|
+
{%-endfor %}
|
14
|
+
</ul>
|
15
|
+
{%-endif %}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
# TODO: add projects and pages to the archive - bound the date via `group_by_exp`
|
4
|
+
---
|
5
|
+
|
6
|
+
{%-if page.type=='year'-%}
|
7
|
+
{% assign date_format = '%Y'-%}
|
8
|
+
{%-elsif page.type=='month'-%}
|
9
|
+
{% assign date_format = '%B %Y'-%}
|
10
|
+
{%-elsif page.type=='day'-%}
|
11
|
+
{% assign date_format = '%B %-d, %Y'-%}
|
12
|
+
{%-endif-%}
|
13
|
+
|
14
|
+
{% assign formatted_date = page.date | date: date_format %}
|
15
|
+
{% assign title = formatted_date | append: ' Archives' %}
|
16
|
+
{%-assign projects = site.projects | where_exp: 'project', 'project.date == formatted_date and project.published == true'-%}
|
17
|
+
{%-assign pages = site.pages | where_exp: 'pg', 'pg.date == formatted_date and pg.published == true'-%}
|
18
|
+
|
19
|
+
<section>
|
20
|
+
{% include page_header.html page_title=title %}
|
21
|
+
<!-- Page Content -->
|
22
|
+
<hr class="major"/>
|
23
|
+
{% include posts.html %}
|
24
|
+
{% if projects != empty-%}
|
25
|
+
<h2>Projects {{ title-}}</h2>
|
26
|
+
{% include projects.html %}
|
27
|
+
{%-endif-%}
|
28
|
+
{% if pages != empty-%}
|
29
|
+
<h2>Pages {{ title-}}</h2>
|
30
|
+
{% include pages.html %}
|
31
|
+
{%-endif-%}
|
32
|
+
</section>
|