]> git.draconx.ca Git - homepage.git/log
homepage.git
4 years agoUpdate gob-dx feature list.
Nick Bowler [Thu, 6 Feb 2020 05:24:02 +0000 (00:24 -0500)]
Update gob-dx feature list.

4 years agoAdd a project page for gob-dx.
Nick Bowler [Mon, 27 Jan 2020 19:33:28 +0000 (14:33 -0500)]
Add a project page for gob-dx.

5 years agoRemove dead definition list cruft.
Nick Bowler [Sat, 16 Feb 2019 05:44:58 +0000 (00:44 -0500)]
Remove dead definition list cruft.

The definition lists for the creative commons text never worked
quite right, and was committed as a comment; don't need that...

5 years agoTweak the footer styles a bit.
Nick Bowler [Thu, 10 Jan 2019 03:59:03 +0000 (22:59 -0500)]
Tweak the footer styles a bit.

Shrink the footer margins too when the header collapses,
and remove a redundant footer style.

5 years agoPut some actual material on the site.
Nick Bowler [Thu, 10 Jan 2019 03:46:40 +0000 (22:46 -0500)]
Put some actual material on the site.

Add an initial projects list and create description pages for
cdecl99 and slotifier.  Introduce a simple navigation mechanism
to these sub-pages.

5 years agoTweak whitespace-preserving templates.
Nick Bowler [Thu, 10 Jan 2019 03:28:53 +0000 (22:28 -0500)]
Tweak whitespace-preserving templates.

We don't want to add whitespace to span-level elements which were
empty to start with, which is normal for e.g. img elements.

Also, if an element contains _only_ whitespace, it was probably put
there on purpose so let's preserve it.

5 years agoAdd an "icon" link with empty data URI.
Nick Bowler [Thu, 10 Jan 2019 03:22:56 +0000 (22:22 -0500)]
Add an "icon" link with empty data URI.

This appears to stop pointless requests to /favicon.ico,
at least in some browsers.

5 years agoAdd a postprocess hook to gzip output text items.
Nick Bowler [Thu, 10 Jan 2019 03:00:58 +0000 (22:00 -0500)]
Add a postprocess hook to gzip output text items.

This enables the use of nginx gzip_static functionality, reducing
per-request processing.  This is only done if GZIP_SITE is set to
a nonempty value in the environment so it can be run only when
publishing to avoid noise when authoring.

5 years agoStrip leading and trailing whitespace from all <p> tags.
Nick Bowler [Wed, 9 Jan 2019 04:27:39 +0000 (23:27 -0500)]
Strip leading and trailing whitespace from all <p> tags.

This should be harmless and improves the pretty-printed output a lot.

5 years agoWork around Nokogiri pretty-print issues.
Nick Bowler [Wed, 9 Jan 2019 01:23:36 +0000 (20:23 -0500)]
Work around Nokogiri pretty-print issues.

In general, pretty-printing XHTML will change its meaning because
whitespace added or removed can affect the results.  Instead of using
the xsl:strip-space functionality which is quite limited, use a normal
template to remove unwanted whitespace-only text nodes which can be
manually tweaked as required.

Then we explicitly add dummy nodes to prevent Nokogiri from reindenting
problematic cases, and finally clean those out just before publishing
(after all XSLT processing is finished).

5 years agoAdd copyright license information.
Nick Bowler [Sat, 23 Jun 2018 17:11:46 +0000 (13:11 -0400)]
Add copyright license information.

5 years agoAdd links from generated pages to source code on gitweb.
Nick Bowler [Sun, 20 May 2018 19:29:28 +0000 (15:29 -0400)]
Add links from generated pages to source code on gitweb.

5 years agoInitial commit
Nick Bowler [Sun, 13 May 2018 22:16:11 +0000 (18:16 -0400)]
Initial commit