Skip to content

Releases: gonzofish/talc

I'm Not Impartial

13 May 00:35
Compare
Choose a tag to compare
I'm Not Impartial Pre-release
Pre-release

This update let's generation leverage partial templates (aka, reusable snippets of HTML) to cut down on boilerplate code for pages. See the README for details

Depends on Your Perspective

15 Mar 19:24
Compare
Choose a tag to compare
Pre-release

This is a dependencies & vulnerabilities update, so no new features.

All Sorted

28 Aug 02:26
Compare
Choose a tag to compare
All Sorted Pre-release
Pre-release

Now in an index template the posts can be sorted by using the sortBy attribute in talc.config.js. This takes an Array<string> where the entries are metadata attributes.

If you don't specify it, by default, Talc will sort by publish_date in reverse chronological order. To that end, publish_date and create_date will always sort in reverse chronological order.

That's sort of cool.

Is There a Draft in Here?

18 Aug 16:29
Compare
Choose a tag to compare
Pre-release

This release adds the concept of drafts.

Instead of having an input & output directory, there are now three directories that can be overridden in talc.config.js:

  • drafts
  • published
  • built

When talc new "<title>" is run, the file is placed in drafts. From there you can work on the file without worrying it'll be made public.

Once your draft is ready to be seen on your site, you can run talc publish <filename>. Talc will add a publish_date attribute to the file's metadata and move it to the published directory.

When you run talc build, it'll take any file in the published directory and put a compiled version in the built directory.

Loopity Loop

14 Aug 04:18
Compare
Choose a tag to compare
Loopity Loop Pre-release
Pre-release

New features:

  • Supports YAML-formatted metadata that can be used as variables in a template
  • Supports the use of loops through a for/endfor construct
  • Specify a template for generating an index of all the output files (can be used as a main page for a blog)

Take a look at the README for detail information on how to use all of the above.

Stumbles & Fumbles

25 Jul 03:23
Compare
Choose a tag to compare
Stumbles & Fumbles Pre-release
Pre-release

This is the very first cut of Talc. Very basic functionality:

  • Provide a talc.config.js for powering Talc
  • Generate a new Markdown file with talc new <title>
  • Publish Markdown files with talc publish
  • Optionally, place posts into an HTML template during publish