generated from yous/whiteglass-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing pesky date labels on blog posts; experimenting with header l…
…inks; adding layout templates for basic items
- Loading branch information
1 parent
4876179
commit b7b1687
Showing
7 changed files
with
81 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<div class="home"> | ||
|
||
{{ content }} | ||
|
||
{% capture site_lang %}{{ site.lang | default: "en" }}{% endcapture %} | ||
|
||
<ul class="post-list"> | ||
{% for post in paginator.posts %} | ||
{% capture post_lang %}{{ post.lang | default: site_lang }}{% endcapture %} | ||
{% capture lang %}{% if post_lang != site_lang %}{{ post_lang }}{% endif %}{% endcapture %} | ||
|
||
<li{% if lang != empty %} lang="{{ lang }}"{% endif %}> | ||
<header class="post-header"> | ||
<h1 class="post-title"> | ||
{% if post.external-url %} | ||
<a class="post-link" href="{{ post.external-url }}">{{ post.title | escape }} →</a> | ||
{% else %} | ||
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> | ||
{% endif %} | ||
</h1> | ||
|
||
<p class="post-meta"> | ||
{% if post.categories != empty or post.tags != empty %} | ||
{% include category_links.html categories=post.categories tags=post.tags %} | ||
{% endif %} | ||
{% if post.external-url %} | ||
• <a href="{{ post.url | relative_url }}">Permalink</a> | ||
{% endif %} | ||
</p> | ||
</header> | ||
|
||
<div class="post-content"> | ||
{{ post.excerpt }} | ||
</div> | ||
{% if post.content contains site.excerpt_separator %} | ||
<p class="post-continue"> | ||
<a href="{{ post.url | relative_url }}">{% include i18n.html lang=lang value="morelink" default="Read on" %} →</a> | ||
</p> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
{% include pagination.html %} | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: default | ||
--- | ||
<article class="post" itemscope itemtype="http://schema.org/BlogPosting"> | ||
|
||
<header class="post-header"> | ||
{% if page.external-url %} | ||
<h1 class="post-title" itemprop="name headline"><a href="{{ page.external-url }}">{{ page.title | escape }} →</a></h1> | ||
{% else %} | ||
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1> | ||
{% endif %} | ||
</header> | ||
|
||
<div class="post-content" itemprop="articleBody"> | ||
{{ content }} | ||
</div> | ||
|
||
{% if site.comments == true and page.comments != false %} | ||
<div class="post-comments" itemprop="comment"> | ||
{% include custom_comments_provider.html %} | ||
</div> | ||
{% endif %} | ||
|
||
</article> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: page | ||
title: "" | ||
--- | ||
|
||
Landing page for my stream of consciousness. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
layout: page | ||
title: About | ||
permalink: /about/ | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
--- | ||
# You don't need to edit this file, it's empty on purpose. | ||
# Edit whiteglass' home layout instead if you want to make some changes. | ||
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults | ||
layout: home | ||
--- |