Repository of my static website
Primary
-
migrate to tailwindcss
-
add lightbox for images (this one?)
-
deploy with Github actions
-
fix tailwind css purging in development env, we don't need that
-
differentiate between dev|prod assets processing (bottom snippet)
-
contacts (2015-12-24)
-
instamotor about (2015-12-24)
-
thumbs links (2015-12-24)
-
get back metrics (2015-12-24)
Secondary
-
works: get rid of
showcaseThumb
variable, use index 0 unless defined -
screenshot captions?
-
add books list
-
track if this issue fixed. solved by installing
nodejs
globally with homebrew.
asdf plugin add hugo nodejs yarn
- Hugo
- (deprecated) Google Material Design Lite
- archetypes: defaults for each content type
content/[content type]
- taken from dirname ortype
in FM. If not set, the value is “page”.- Examples: Layout Lookup for Regular Pages
$
has special significance in your templates.$
is set to the starting value of.
(“the dot”) by default. This is a documented feature of Go text/template. This means you have access to the global context from anywhere.{{- .Title -}}
trim whitespace (works with{{- range ... -}}...{{- end --}}
too- Go Templates support
{{/*
and*/}}
to open and close a comment block. Nothing within that block will be rendered.
node-sass
/nodejs
versions~version
: “Approximately equivalent to version”, will update you to all future patch versions, without incrementing the minor version. ~1.2.3 will use releases from 1.2.3 to <1.3.0.^version
: “Compatible with version”, will update you to all future minor/patch versions, without incrementing the major version. ^2.3.4 will use releases from 2.3.4 to <3.0.0