A theme for Anchor, a lightweight blog CMS
Folium is a theme for Anchor (Github), a lightweight blog system that I use on my blog.
This is what it looks like:
There are a number of additions I’ve made to the base code. This is probably not exhaustive, but it’s a lot of them.
There are also some that aren’t documented.
Automatically making links open in a new tab/anchor/libraries/markdown.php
function _doAnchors_inline_callback($matches) {
...
- $result = "<a href=\"$url\"";
+ $result = "<a target=\"_blank\" href=\"$url\"";
...
Copied over time constants from the official repo/anchor/language/en_GB/posts.php
+ 'time' => 'Published on (GMT)',
+ 'time_explain' => 'Pattern: YYYY-MM-DD HH:MM:SS',
+ 'time_invalid' => 'Invalid time pattern',
and in the UI, to be able to adjust publication date./anchor/views/posts/edit.php
<em><?php echo __('posts.slug_explain'); ?></em>
</p>
+ <p>
+ <label><?php echo __('posts.time'); ?>:</label>
+ <?php echo Form::text('created', Input::previous('created', $article->created)); ?>
+ <em><?php echo __('posts.time_explain'); ?></em>
+ </p>
https://tracydurnell.com/2024/12/17/in-praise-of-the-hundred-page-idea/
https://cefboud.github.io/posts/compression/ -> use this for top right jump around on Mobile
TODO