mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Compare commits
No commits in common. "3374bc5e622c5a9df8144c5ee567f4e0f9613f29" and "2f12ac1a5344a3477fbe737a737d630b41836094" have entirely different histories.
3374bc5e62
...
2f12ac1a53
@ -22,15 +22,12 @@
|
|||||||
<hr class="byline">
|
<hr class="byline">
|
||||||
|
|
||||||
<section class="byline-time">
|
<section class="byline-time">
|
||||||
<section class="byline p-summary">
|
<section class="byline">
|
||||||
{{page.excerpt}}
|
{{page.excerpt}}
|
||||||
</section>
|
</section>
|
||||||
<time class="dt-label dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_string }}</time>
|
<time class="dt-label dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_string }}</time>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<div class="e-bridgy-mastodon-content hidden">
|
|
||||||
New blog post: {{ page.title }} - {{page.excerpt}}
|
|
||||||
</div>
|
|
||||||
<div class="e-content">
|
<div class="e-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -121,7 +121,6 @@ main {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
hr.heading {
|
hr.heading {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
@ -393,10 +392,6 @@ body:not(.has-wc) .has-wc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.visually-hidden {
|
.visually-hidden {
|
||||||
display: block;
|
display: block;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
@ -470,8 +465,12 @@ svg {
|
|||||||
@include night-mode;
|
@include night-mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-reduced-motion: no-preference) {
|
@view-transition {
|
||||||
@view-transition {
|
|
||||||
navigation: auto;
|
navigation: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
* {
|
||||||
|
view-transition-name: unset !important;
|
||||||
|
}
|
||||||
}
|
}
|
12
blog.md
12
blog.md
@ -14,16 +14,8 @@ img:
|
|||||||
<span class="dt-label">Date Posted</span>
|
<span class="dt-label">Date Posted</span>
|
||||||
</section>
|
</section>
|
||||||
<hr class="heading">
|
<hr class="heading">
|
||||||
|
{% for post in site.posts %}
|
||||||
{% assign draft_posts = site.posts | where: "draft", "true" %}
|
{% if post.draft == false or jekyll.environment == "development" %}
|
||||||
{% assign published_posts = site.posts | where: "draft", "false" %}
|
|
||||||
|
|
||||||
{% if jekyll.environment == 'development' %}
|
|
||||||
{% for post in draft_posts %}
|
|
||||||
{% include post_summary.html %}
|
{% include post_summary.html %}
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for post in published_posts limit:5 %}
|
|
||||||
{% include post_summary.html %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
@ -24,17 +24,13 @@ Welcome to my little home on the web! Below you'll find recent blog posts, proje
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<hr class="heading">
|
<hr class="heading">
|
||||||
|
|
||||||
{% assign draft_posts = site.posts | where: "draft", "true" %}
|
|
||||||
{% assign published_posts = site.posts | where: "draft", "false" %}
|
|
||||||
|
|
||||||
{% if jekyll.environment == 'development' %}
|
{% if jekyll.environment == 'development' %}
|
||||||
{% for post in draft_posts %}
|
{% assign filtered_posts = site.posts %}
|
||||||
{% include post_summary.html %}
|
{% else %}
|
||||||
{% endfor %}
|
{% assign filtered_posts = site.posts | where: "draft", "false" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for post in published_posts limit:5 %}
|
{% for post in filtered_posts limit:5 %}
|
||||||
{% include post_summary.html %}
|
{% include post_summary.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user