Skip to content

@rafaelmartins rafaelmartins released this May 31, 2020 · 2 commits to master since this release

This release includes the following changes:

  • blogc(1) now accepts multiple -e command-line arguments, to allow declaration of multiple listing_entry template blocks. See blogc-template(7) for details. This is not supported by blogc-make(1), it only accepts one file as listing_entry setting.
  • blogc(1) now supports a listing_empty template block, that is displayed only when the the listing set is empty. See blogc-template(7) for details.
  • Fixed a race condition in blogc-make(1)'s runserver command.
  • Minor adjustments in blogc-make(1) atom feed generation.
  • Some other minor bug fixes.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 18

@rafaelmartins rafaelmartins released this Sep 10, 2019 · 29 commits to master since this release

This release includes the following changes:

  • blogc-make(1) now includes the pagination_tags rule, to build pagination pages for each tag.
  • Fixed a bug in blogc(1) that prevented digits in -D command-line arguments.
  • Do not show error message when evaluating variables with blogc(1)'s -p command-line argument.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 18

@rafaelmartins rafaelmartins released this May 2, 2019 · 48 commits to master since this release

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.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Apr 21, 2019 · 61 commits to master since this release

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.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Apr 13, 2019 · 65 commits to master since this release

Release with 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.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Feb 26, 2019 · 78 commits to master since this release

Release with the following changes:

  • Backslashes won't escape inline code in source files, to be more compatible with Markdown spec [1]. 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.

[1] https://daringfireball.net/projects/markdown/syntax#code

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Feb 11, 2019 · 82 commits to master since this release

Release with the following changes:

  • Includes some predefined internal template variables, to show some build metadata in websites. See blogc-template(7) for details.
  • Fixes a bug when using whitespace characters like \r, \n and \t in template blocks, conditionals and variables, instead of just spaces (' '). These characters where not allowed previously.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Jan 15, 2019 · 100 commits to master since this release

Release with the following changes:

  • Minor code improvements in blogc-make and blogc-git-receiver
  • Fixed a bug in blogc-make handling of rule names. Previously it would accept incomplete rule names, but would run all the rules that matched that substring, e.g. atom would match atom, atom_tags, atom_dump, and run all of them in sequence. Now it will only match the exact rule names.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 10

@rafaelmartins rafaelmartins released this Jul 26, 2018 · 123 commits to master since this release

Release with the following changes, mostly in blogc-make(1):

  • Allow usage of empty values for the *_prefix settings in blogcfile(5)
  • Fixed some bugs in the default Atom feed template. This includes a change in the algorithm that generates Atom IDs for every post. Users upgrading to this version may want to set atom_legacy_entry_id to true in blogcfile(5), to avoid re-sharing posts due to the ID changes.
  • Allow usage of custom Atom feed templates. Users can dump the default template to use as base for customizations, using blogc-make(1) atom_dump rule.
  • Minor fixes to prevent segfaults.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 11

@rafaelmartins rafaelmartins released this Jul 22, 2018 · 136 commits to master since this release

This is a minor release, that fixes a bug in the config-parser, that prevented usage of keys with empty values.

Please download the custom tarballs, not the files generated automatically by GitHub, they are garbage.

Assets 11
You can’t perform that action at this time.