make alt blog

This commit is contained in:
Tom 2023-10-12 17:21:09 +02:00
parent da817da8e8
commit 48d2b5156e
5 changed files with 12 additions and 19 deletions

View File

@ -4,8 +4,7 @@ excerpt: |
I've had a longstanding ambition to get a PCB manufactured but I've always put it off. Lately I had a need for a little adapter board to break out these 1.27mm spaced pins to 2.54mm pins that would fit into a breadboard. Feeling like it was a simple enough board I finally decided to fire up KiCad and give it a go. I've had a longstanding ambition to get a PCB manufactured but I've always put it off. Lately I had a need for a little adapter board to break out these 1.27mm spaced pins to 2.54mm pins that would fit into a breadboard. Feeling like it was a simple enough board I finally decided to fire up KiCad and give it a go.
layout: post layout: post
commentid: 110810437631337327 commentid: 110810437631337327
hide_image: true # Only use this image for static previews image: /assets/blog/PCB/render.png
social_image: /assets/social/pcb_1.png
thumbnail: /assets/social/pcb_1.png thumbnail: /assets/social/pcb_1.png
alt: A 3D render of a simple PCB. alt: A 3D render of a simple PCB.
head: <script type="module" src="/assets/js/model-viewer.js"></script> head: <script type="module" src="/assets/js/model-viewer.js"></script>

View File

@ -3,7 +3,7 @@ title: Toothbrush Shelf
excerpt: | excerpt: |
It can be hard to find genuine everyday uses of 3D printing, but after a while you do find some. It can be hard to find genuine everyday uses of 3D printing, but after a while you do find some.
layout: post layout: post
hide_image: true # Only use this image for static previews hide_image: false # Only use this image for static previews
image: /assets/blog/toothbrush_shelf/spin.gif image: /assets/blog/toothbrush_shelf/spin.gif
alt: A render of a 3D printed shelf sitting above a shaver outlet, it spins slowly. alt: A render of a 3D printed shelf sitting above a shaver outlet, it spins slowly.
head: <script type="module" src="/assets/js/model-viewer.js"></script> head: <script type="module" src="/assets/js/model-viewer.js"></script>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View File

@ -1,9 +1,7 @@
--- ---
title: Blog title: Blog
layout: default layout: default
permalink: / permalink: /blog-alt/
redirect_from:
- /blog/
head: <script type="module" src="/assets/js/model-viewer.js"></script> head: <script type="module" src="/assets/js/model-viewer.js"></script>
--- ---
{% for post in site.posts %} {% for post in site.posts %}

View File

@ -7,18 +7,14 @@ redirect_from:
head: <script type="module" src="/assets/js/model-viewer.js"></script> head: <script type="module" src="/assets/js/model-viewer.js"></script>
--- ---
{% for post in site.posts %} {% for post in site.posts %}
<article class="h-entry blogroll"> <article class="h-entry">
<h2 class="p-name blogroll-title"><a class="u-uid u-url" href="{{ post.url }}">{{ post.title }}</a></h2>
<img class="u-photo" <time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
src = "{{ post.thumbnail | default: post.image }}" <summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
alt="{{post.alt}}"> {% unless post.hide_image %}
<figure class="blogroll">
<section class="title"> <img class="u-photo" src = "{{post.image}}" alt="{{post.alt}}">
<h2 class="p-name blogroll-title"><a class="u-uid u-url" href="{{ post.url }}">{{ post.title }}</a></h2> </figure>
<time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time> {% endunless %}
</section>
<summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
</article> </article>
{% endfor %} {% endfor %}