mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Compare commits
6 Commits
2f12ac1a53
...
3374bc5e62
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3374bc5e62 | ||
![]() |
0894299979 | ||
![]() |
46c87ef493 | ||
![]() |
53045008e9 | ||
![]() |
6d6358b6a7 | ||
![]() |
f063d0394a |
@ -22,12 +22,15 @@
|
||||
<hr class="byline">
|
||||
|
||||
<section class="byline-time">
|
||||
<section class="byline">
|
||||
<section class="byline p-summary">
|
||||
{{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,6 +121,7 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
hr.heading {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
@ -392,6 +393,10 @@ body:not(.has-wc) .has-wc {
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
display: block;
|
||||
height: 1px;
|
||||
@ -465,12 +470,8 @@ svg {
|
||||
@include night-mode;
|
||||
}
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
* {
|
||||
view-transition-name: unset !important;
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
}
|
14
blog.md
14
blog.md
@ -14,8 +14,16 @@ img:
|
||||
<span class="dt-label">Date Posted</span>
|
||||
</section>
|
||||
<hr class="heading">
|
||||
{% for post in site.posts %}
|
||||
{% if post.draft == false or jekyll.environment == "development" %}
|
||||
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
|
||||
{% for post in published_posts limit:5 %}
|
||||
{% include post_summary.html %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
@ -24,13 +24,17 @@ 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' %}
|
||||
{% assign filtered_posts = site.posts %}
|
||||
{% else %}
|
||||
{% assign filtered_posts = site.posts | where: "draft", "false" %}
|
||||
{% for post in draft_posts %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% for post in filtered_posts limit:5 %}
|
||||
{% for post in published_posts limit:5 %}
|
||||
{% include post_summary.html %}
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user