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">
|
||||
|
||||
<section class="byline-time">
|
||||
<section class="byline p-summary">
|
||||
<section class="byline">
|
||||
{{page.excerpt}}
|
||||
</section>
|
||||
<time class="dt-label dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_string }}</time>
|
||||
</section>
|
||||
</section>
|
||||
<div class="e-bridgy-mastodon-content hidden">
|
||||
New blog post: {{ page.title }} - {{page.excerpt}}
|
||||
</div>
|
||||
<div class="e-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
@ -121,7 +121,6 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hr.heading {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
@ -393,10 +392,6 @@ body:not(.has-wc) .has-wc {
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
display: block;
|
||||
height: 1px;
|
||||
@ -470,8 +465,12 @@ svg {
|
||||
@include night-mode;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
@view-transition {
|
||||
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>
|
||||
</section>
|
||||
<hr class="heading">
|
||||
|
||||
{% assign draft_posts = site.posts | where: "draft", "true" %}
|
||||
{% assign published_posts = site.posts | where: "draft", "false" %}
|
||||
|
||||
{% if jekyll.environment == 'development' %}
|
||||
{% for post in draft_posts %}
|
||||
{% for post in site.posts %}
|
||||
{% if post.draft == false or jekyll.environment == "development" %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% for post in published_posts limit:5 %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
@ -24,17 +24,13 @@ Welcome to my little home on the web! Below you'll find recent blog posts, proje
|
||||
</section>
|
||||
|
||||
<hr class="heading">
|
||||
|
||||
{% assign draft_posts = site.posts | where: "draft", "true" %}
|
||||
{% assign published_posts = site.posts | where: "draft", "false" %}
|
||||
|
||||
{% if jekyll.environment == 'development' %}
|
||||
{% for post in draft_posts %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
||||
{% assign filtered_posts = site.posts %}
|
||||
{% else %}
|
||||
{% assign filtered_posts = site.posts | where: "draft", "false" %}
|
||||
{% endif %}
|
||||
|
||||
{% for post in published_posts limit:5 %}
|
||||
{% for post in filtered_posts limit:5 %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user