I just released version 0.17.0
of blogc.
This release includes the following changes:
blogc(1)
now supports sorting source files by DATE
variable, by providing the FILTER_SORT=1
global variable. The source
files are sorted in descending order by default, and can be reversed by
providing the FILTER_REVERSE=1
global variable. See
blogc-pagination(7)
for details.
blogc-make(1)
got a new setting to support
sorting posts: posts_sort
. See blogcfile(5)
for details.
For download links, project details and a FAQ, please visit
https://blogc.rgm.io.
Thanks,
Rafael
I just released version 0.16.1
of blogc.
This is a bug fix release for blogc-make(1)
, with the following changes:
blogc-make(1)
was implementing atom feeds wrong for long time. Atom IDs
are supposed to be valid URIs. This is a small but breaking change. It is
supposed to make some clients think that all of the old posts were
republished. The public aggregators using my blogs' feeds do not
republished anything, though.
atom_legacy_entry_id
isn't supported by blogcfile(5)
anymore. There's
no point in officially supporting broken IDs. If you need it, please run
the same command provided before.
This release is only relevant for users relying on blogc-make(1)
AND
using default atom feed templates. Users with custom atom templates may
also want to make sure that their feeds are valid, though.
Users wanting to make sure that this release won't change their feeds, can
run the following command before upgrading (it assumes that templates are
stored in templates/
and that is using the default internal atom
template):
$ blogc-make atom_dump > templates/atom.tmpl
and add atom_template = atom.tmpl
to [settings]
in your blogcfile(5)
.
Please keep in mind that when using the old feed template your atom IDs are
invalid.
For download links, project details and a FAQ, please visit
https://blogc.rgm.io.
Thanks,
Rafael
I just released version 0.16.0
of blogc.
This release includes the following changes:
- Added new template block
listing_entry
, to include the content of a source
file on a listing page. This is useful if the user wants to have an index
page with posts listing and some content together. See
blogc(1)
(description of -e
option) and
blogc-template(7)
for details.
- Adapted
blogc-make(1)
to support the new
listing_entry
block. See blogcfile(5)
for
details.
- Changed
blogc(1)
-p
option to be able to retrieve
values from entries, instead of just listings. Any variables that can be used
in templates are available, including CONTENT
, that contains the HTML
generated from the source file.
For download links, project details and a FAQ, please visit
https://blogc.rgm.io.
Thanks,
Rafael
I just released version 0.15.1
of blogc.
This is a bugfix release, that includes the following changes:
- Backslashes won't escape inline code in source files, to be more compatible
with Markdown spec.
To escape a back-tick character inside inline code, please enclose the code
with double back-ticks.
- Simplified implementation of
BLOGC_SYSINFO_USERNAME
template variable, to
prevent issues with static builds in glibc, due to some functions requiring
shared libraries even when built statically.
For download links, project details and a FAQ, please visit
https://blogc.rgm.io.
Thanks,
Rafael