feat: add blog #7

Manually merged
anton merged 32 commits from feat/blog into main 2025-04-03 03:34:49 +00:00
5 changed files with 6 additions and 7 deletions
Showing only changes of commit 6de8e1017d - Show all commits

View File

@ -20,7 +20,7 @@ footer: '© 2025 Distrust LLC'
theme: jekyll-theme-console theme: jekyll-theme-console
permalink: /:title/ permalink: blog/:title/
plugins: plugins:
- jekyll-feed - jekyll-feed

View File

@ -3,7 +3,7 @@
<div class="menu"> <div class="menu">
<div class="left-menu"> <div class="left-menu">
<a id="home-link" href="/index.html"> <a id="home-link" href="/index.html">
<img class="menu-logo" src="../assets/base/distrust-text-white.svg" <img class="menu-logo" src="/assets/base/distrust-text-white.svg"
anton marked this conversation as resolved Outdated
Outdated
Review

Same here

Same here
alt="Distrust broken chain logo with white text" /> alt="Distrust broken chain logo with white text" />
</a> </a>
</div> </div>
@ -22,7 +22,7 @@
</li> </li>
<li class="show"> <li class="show">
<a href="/feed.xml" style="vertical-align: middle;"> <a href="/feed.xml" style="vertical-align: middle;">
<img style="filter: grayscale(100%); width: 22px; vertical-align: sub" src="../assets/base/rss.png" /> <img style="filter: grayscale(100%); width: 22px; vertical-align: sub" src="/assets/base/rss.png" />
</a> </a>
</li> </li>

View File

@ -30,7 +30,6 @@
{% include companies-carousel.html %} {% include companies-carousel.html %}
<<<<<<< HEAD
<section> <section>
<div class="center"> <div class="center">
<div class="capsule">what we do</div> <div class="capsule">what we do</div>

View File

@ -2,7 +2,7 @@
layout: post layout: post
title: Adventures In Supply Chain Integrity title: Adventures In Supply Chain Integrity
date: 2024-03-28 date: 2024-03-28
cover_image: "../assets/images/whale_shark.jpg" cover_image: "/assets/images/whale_shark.jpg"
anton marked this conversation as resolved Outdated
Outdated
Review

Absolute path

Absolute path
authors: authors:
- name: Ryan Heywood - name: Ryan Heywood
bio: Professional bonker / twerker. bio: Professional bonker / twerker.

View File

@ -6,13 +6,13 @@ permalink: /blog.html
<div class="posts"> <div class="posts">
{% for post in site.posts %} {% for post in site.posts %}
<article class="post"> <article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> <h1><a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h1>
anton marked this conversation as resolved Outdated
Outdated
Review

I'd probably include the title in the link as well

<a ... title="{{ post.title}}>...</a>
I'd probably include the title in the link as well ``` <a ... title="{{ post.title}}>...</a> ```
<div class="entry"> <div class="entry">
{{ post.excerpt }} {{ post.excerpt }}
</div> </div>
<h4>Written on {{ post.date | date: "%B %e, %Y" }}</h4> <h4>Written on {{ post.date | date: "%B %e, %Y" }}</h4>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a> <a href="{{ post.url }}" class="read-more">Read More</a>
anton marked this conversation as resolved Outdated
Outdated
Review

Generally I'd avoid using the baseurl. This makes local development more difficult and prevents have multiple domains with the same content (eg. deploying as a Tor Hidden Service)

Generally I'd avoid using the baseurl. This makes local development more difficult and prevents have multiple domains with the same content (eg. deploying as a Tor Hidden Service)
</article> </article>
{% endfor %} {% endfor %}
</div> </div>