Fixing 'absolute_url' and adding modules to 'site-generator' #168

Closed
davmo wants to merge 0 commits from 167_Several_templates_use_non-existent_absolute_url into main
Owner

site-generator:

Added all the modules that the script and the templates use to make
it explicit what is required.

templates/shared-utils.tpl.html:

Added a new TT² macro called 'absolute_url' which takes two
arguments, the base and  the path or relative URL. It's fairly
primitive but seems to work.

templates/content-about.tpl.html,
templates/content-recording.tpl.html,
templates/content-request_a_slot.tpl.html,
templates/content-requested_topics.tpl.html,
templates/page.tpl.html:

All calls to 'absolute_url' changed to use two arguments, and the
link definitions adjusted to match this change.
site-generator: Added all the modules that the script and the templates use to make it explicit what is required. templates/shared-utils.tpl.html: Added a new TT² macro called 'absolute_url' which takes two arguments, the base and the path or relative URL. It's fairly primitive but seems to work. templates/content-about.tpl.html, templates/content-recording.tpl.html, templates/content-request_a_slot.tpl.html, templates/content-requested_topics.tpl.html, templates/page.tpl.html: All calls to 'absolute_url' changed to use two arguments, and the link definitions adjusted to match this change.

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HPR/hpr_generator#168
No description provided.