WordPress Occasio theme ported to HTMLy and modified.
- Upload and extract the zip file into themes directory.
- Activate it from HTMLy panel.
Choose Summary under Blog posts displayed as in Config > Reading Settings.
In your posts it is possible to use:
<div class="image-row">
<img src="img1.jpg">
<img src="img2.jpg">
<img src="img3.jpg">
<img src="img4.jpg">
</div>
This will create a four images row, all same height, filling the post container width. You can use how many images you want, they will scale and fit automatically.
When slug is "downloads" all links are converted to download buttons. Copy .htaccess.downloads to your downloads folder (where downloadable files are) and rename it .htaccess
It a very simple anti-leech direct download protection (can be easily bypassed, but at least requires some effort on it).
Author page display the author picture too (as set in author profile in admin section).
Syntax highlight using highlight.js in code blocks with copy code button. Thanks to danpros:
https://www.danpros.com/post/add-syntax-highlighting-to-our-blog-with-highlightjs
https://www.danpros.com/post/add-a-copy-to-clipboard-button-to-code-blocks
This template is usable, but still under development. There are many small improvement needed/to be implemented:
- consistency in UI (mainly buttons shape, size and colors)
- comments widget (needs small changes in HTMLy local comments system too)
- possibility to set header logo and image background
- flavors - setting a flavor in config.ini will apply a differenet color pallette; will be implemented:
- aqua (blue pallette)
- coffee (brown pallette)
- green tea (green pallette)
- strawberry (red pallette)
- smoke (grey pallette)
- option to enable comments on statics and authors pages on a per-page basis
See the LICENSE file.