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
Collaborator

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.
davmo added 1 commit 2023-09-09 17:02:31 +00:00
b4448caf16 Fixing 'absolute_url'
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.
davmo changed title from Fixing 'absolute_url' and adding modules 'site-generator' to Fixing 'absolute_url' and adding modules to 'site-generator' 2023-09-09 17:02:52 +00:00
davmo closed this pull request 2023-09-09 22:28:51 +00:00

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: rho_n/hpr_generator#168
No description provided.