Compare commits

..

1 Commits

Author SHA1 Message Date
Dustin c7657d99bd draft: projects 2024-08-17 10:45:45 -05:00
13 changed files with 62 additions and 15 deletions

View File

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

View File

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

View File

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

View File

@ -0,0 +1,28 @@
+++
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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 MiB

View File

@ -0,0 +1,10 @@
+++
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.

After

Width:  |  Height:  |  Size: 4.6 MiB

View File

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

View File

@ -0,0 +1 @@
<?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>

After

Width:  |  Height:  |  Size: 435 B

View File

@ -44,7 +44,6 @@
<nav class="main-nav">
<ul>
<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='/cv') }}">CV</a><li
>

View File

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

View File

@ -0,0 +1,10 @@
<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>