Compare commits

..

5 Commits

Author SHA1 Message Date
Dustin 62c4477478 projects: Add dynk8s page 2024-08-18 09:17:07 -05:00
Dustin 97a5cf4ac3 projects: Add Theatre
This content was mostly taken from my original "~/dustin/theatre" page.
I want to eventually include the photo gallery as well.
2024-08-18 09:15:43 -05:00
Dustin d11ce6612f projects: Begin Projects section
I want to publish some details about my projects, but I don't like the
blog format for this.
2024-08-18 09:13:21 -05:00
Dustin 84796db5c5 config: Update for Zola 0.19 2024-08-18 09:02:44 -05:00
Dustin 5effaf78c2 ci: publish: Run a dry run for PR builds
dustin/dustin.web/pipeline/pr-master This commit looks good Details
dustin/dustin.web/pipeline/head This commit looks good Details
Only actually publish when building the *master* branch.
2022-12-02 22:07:09 -06:00
13 changed files with 15 additions and 62 deletions

View File

@ -2,4 +2,12 @@ PUBLISH_HOST=web0.pyrocufflink.blue
PUBLISH_USER=webapp.dchwww PUBLISH_USER=webapp.dchwww
PUBLISH_PATH=htdocs/ PUBLISH_PATH=htdocs/
rsync -aP public/ ${PUBLISH_USER}@${PUBLISH_HOST}:${PUBLISH_PATH} case "${BRANCH_NAME}" in
master)
;;
*)
DRY_RUN=1
;;
esac
rsync -aP public/ ${PUBLISH_USER}@${PUBLISH_HOST}:${PUBLISH_PATH} ${DRY_RUN:+-n}

View File

@ -7,8 +7,8 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library # Whether to build a search index to be used later on by a JavaScript library
build_search_index = false build_search_index = false
generate_feed = true generate_feeds = true
feed_filename = 'atom.xml' feed_filenames = ['atom.xml']
[markdown] [markdown]
# Whether to do syntax highlighting # Whether to do syntax highlighting

View File

@ -1,6 +1,6 @@
+++ +++
title = "Projects" title = "Projects"
sort_by = "title" sort_by = "none"
template = "projects.html" template = "projects.html"
page_template = "project-page.html" page_template = "project-page.html"
+++ +++

View File

@ -1,28 +0,0 @@
+++
title = "Basement HUD"
page_template = "project-page.html"
description = "Wall-mounted dual-monitor heads-up display powered by a network-booted Raspberry Pi CM 4"
[extra]
image = "projects/basementhud/hud-photo01.jpg"
+++
{{ resize_image(
path="projects/basementhud/hud-photo01.jpg",
width=400,
height=0,
op="fit_width",
alt="A photo of two monitors mounted on the wall",
title="The HUD on the Wall!"
link="hud-photo01.jpg"
style="float: right; padding-left: 1em"
) }} There are several things I want to keep an eye on throughout the day. I
have a couple of Grafana dashboards that I like to have open all the time, but
that just seems like a waste of screen real estate!
Since they basically give away 1080p monitors at Microcenter, I decided it would
be fun and interesting to hang a couple of them on the wall. That way, I can
see my dashboards all the time, without taking away one of my desktop monitors.
<div style="clear: both"></div>

View File

@ -1,3 +0,0 @@
+++
title = "Hardware"
+++

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

View File

@ -1,10 +0,0 @@
+++
title = "Home Network"
description = """\
VM hosts, shared storage, firewall, switches, access points, Raspberry Pis, and
more
"""
[extra]
image = "projects/home-network/server-rack01.jpg"
+++

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

View File

@ -7,6 +7,8 @@ description = "Big screen TV, surround sound, and powered recliners with LEDs!"
image = "projects/theatre/photos/finished/20170314_225410.jpg" image = "projects/theatre/photos/finished/20170314_225410.jpg"
+++ +++
Built winter 20162017
## Specifications ## Specifications
### Display ### Display

View File

@ -1 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6" /></svg>

Before

Width:  |  Height:  |  Size: 435 B

View File

@ -44,6 +44,7 @@
<nav class="main-nav"> <nav class="main-nav">
<ul> <ul>
<li><a href="{{ config.base_url }}">Home</a></li <li><a href="{{ config.base_url }}">Home</a></li
><li><a href="{{ get_url(path='/projects') }}">Projects</a></li
><li><a href="{{ get_url(path='/blog') }}">Blog</a></li ><li><a href="{{ get_url(path='/blog') }}">Blog</a></li
><li><a href="{{ get_url(path='/cv') }}">CV</a><li ><li><a href="{{ get_url(path='/cv') }}">CV</a><li
> >

View File

@ -35,12 +35,6 @@ Projects
Blog Blog
</a> </a>
</div> </div>
<div class="link">
<a href="{{ get_url(path='/gallery') }}">
{{ load_data(path='static/image.svg') | safe }}
Photos
</a>
</div>
</div> </div>
</section> </section>
{% endblock %} {% endblock %}

View File

@ -1,10 +0,0 @@
<div>
{% for asset in page.assets -%}
{%- if asset is matching("[.](jpg|png)$") -%}
{% set image = resize_image(path=asset, width=240, height=180) %}
<a href="{{ get_url(path=asset) }}" target="_blank">
<img src="{{ image.url }}" />
</a>
{%- endif %}
{%- endfor %}
</div>