Allow URL segment for latest version to be replaced with symbolic name
Add a URL option that cloaks the version number of the latest version as "latest". In other words, instead of using the version number in the publication URL (and, if necessary, the output path), that version number would be replaced with the symbolic name "latest". The version number itself would still be available in the model (for metadata purposes). Only the publication URL would be affected.
This option should go under the
urls category in the playbook. The proposed name for this option is
latest_version_cloak. The value is either
true or a custom symbolic name (e.g., current). When the value is true, the name defaults to "latest".
urls: latest_version_cloak: true
urls: latest_version_cloak: current
The simplest way to implement this feature is to change the segment in the output path (and, in turn, the publication URL). However, we could also consider two other strategies.
The first is to use the redirect facility to add an alias URL. The second (much more expensive) way is to write the page to both the version folder and the latest folder. The benefit of these two strategies is that the page would be accessible for either URL (the URL with the version number and the URL with the symbolic name). However, it's not clear how this would be configured. There seem to be a lot of possible permutations to offer here.