AutoSite Devlog #5 – RC3 progress update
Posted in AutoSite April 3rd, 2020 by dotcomboom

Escaping attributes and conditionals

I’ve implemented a new thing that’ll be coming to RC3 pertaining to escaping attributes and conditionals. It’s ultra-helpful for documentation, as I have had issues before in trying to keep samples from being processed by Apricot. To escape, you’d add $ to the start of it.

$[#content#]
$[path=index.md]Escaped conditional[/path=]

To compare, here’s what you would’ve had to do before:

<span>&#91;</span>#root#]

Ich.

4/6/2020 – hahaha future dcb here! this broke my photography page that uses php so I removed this. sorry!

Modified dates

Yes, modified dates in AutoSite now! [#modified#] will spit out a date according to your system locale settings. I’ve been using this currently on my site.

Multiple display bug fix

There was a bug where if you had AutoSite open on a second monitor (or even just a higher-res display) and closed it, then reopened AutoSite where that point was not a part of your display setup, the window would be stuck off-screen with no easy way to bring it over. This drove me mad so I fixed it. 8)

Cheat!

Patio spring cleaning
Posted in Site Updates April 3rd, 2020 by dotcomboom

Did some spring cleaning on the blog, including an upgrade to WordPress 5.4 (featuring a bunch of Gutenberg improvements, bless them), getting rid of some unused themes and a new URL: /web/dcb_v4/patio, as you may have noticed. If you linked to /blog beforehand, no worries as I’ve put a simple redirect in my .htaccess file.

Redirect 301 /blog /patio

Just know that this URL will be used for the foreseeable future, and updating links could be a good idea if I accidentally wipe .htaccess or something.