mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
make alt blog
This commit is contained in:
parent
da817da8e8
commit
48d2b5156e
@ -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.
|
||||
layout: post
|
||||
commentid: 110810437631337327
|
||||
hide_image: true # Only use this image for static previews
|
||||
social_image: /assets/social/pcb_1.png
|
||||
image: /assets/blog/PCB/render.png
|
||||
thumbnail: /assets/social/pcb_1.png
|
||||
alt: A 3D render of a simple PCB.
|
||||
head: <script type="module" src="/assets/js/model-viewer.js"></script>
|
||||
|
@ -3,7 +3,7 @@ title: Toothbrush Shelf
|
||||
excerpt: |
|
||||
It can be hard to find genuine everyday uses of 3D printing, but after a while you do find some.
|
||||
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
|
||||
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>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 87 KiB |
@ -1,9 +1,7 @@
|
||||
---
|
||||
title: Blog
|
||||
layout: default
|
||||
permalink: /
|
||||
redirect_from:
|
||||
- /blog/
|
||||
permalink: /blog-alt/
|
||||
head: <script type="module" src="/assets/js/model-viewer.js"></script>
|
||||
---
|
||||
{% for post in site.posts %}
|
||||
|
22
index.md
22
index.md
@ -7,18 +7,14 @@ redirect_from:
|
||||
head: <script type="module" src="/assets/js/model-viewer.js"></script>
|
||||
---
|
||||
{% for post in site.posts %}
|
||||
<article class="h-entry blogroll">
|
||||
|
||||
<img class="u-photo"
|
||||
src = "{{ post.thumbnail | default: post.image }}"
|
||||
alt="{{post.alt}}">
|
||||
|
||||
<section class="title">
|
||||
<h2 class="p-name blogroll-title"><a class="u-uid u-url" href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
<time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
|
||||
</section>
|
||||
|
||||
<summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
|
||||
|
||||
<article class="h-entry">
|
||||
<h2 class="p-name blogroll-title"><a class="u-uid u-url" href="{{ post.url }}">{{ post.title }}</a></h2>
|
||||
<time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time>
|
||||
<summary class="p-summary">{{ post.excerpt | markdownify | remove: '<p>' | remove: '</p>' }}</summary>
|
||||
{% unless post.hide_image %}
|
||||
<figure class="blogroll">
|
||||
<img class="u-photo" src = "{{post.image}}" alt="{{post.alt}}">
|
||||
</figure>
|
||||
{% endunless %}
|
||||
</article>
|
||||
{% endfor %}
|
Loading…
x
Reference in New Issue
Block a user