Artist gallery for Pixelle https://pixelle.cc/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mobius K 4e8b8542cb Using shortcodes instead of abusing layouts 5 months ago
assets Darkening lightbox background 5 months ago
config Swapping to Hugo run-time image resizing 5 months ago
content Using shortcodes instead of abusing layouts 5 months ago
data Adding "Bad Faith" and "Opposition" pieces to gallery 5 months ago
layouts Using shortcodes instead of abusing layouts 5 months ago
static Swapping to Hugo run-time image resizing 5 months ago
.gitattributes Generating source, lossy PNG, and WEBP images for gallery 9 months ago
.gitignore Swapping to Hugo run-time image resizing 5 months ago
README.md Updating README for new image optimization information 5 months ago

README.md

Pixelle

Artist gallery.

Sub-module layout

This project is a sub-module of a parent repository that contains some shared sources:

  • Dependency resolution files like NPM's package.json and Go's go.mod
  • Build tasks in a Makefile
  • Various code and other scripts

It adds some complexity but helps me maintain several similar projects more efficiently. To setup the necessary structure:

git clone git@gitlab.com:mobius_k/mobius_k.git
cd mobius_k
git submodule update --init pixelle

Image optimization

Images run through a process to be optimized for the website:

  1. Add source to assets directory
  2. Hugo will resize it as needed at build time (this takes awhile on the first run to populate the resources folder)
  3. Parent project's shell script runs pngquant, optipng, jpegoptim, and cwebp as needed for release builds