forked from HPR/hpr_generator
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.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<li>Music Theory</li>
|
||||
<li>Installing a VPN to your home network</li>
|
||||
<li>Init and System.d</li>
|
||||
<li>Episodes for the <a href="<!--% absolute_url(baseurl) %-->series/0007.html">LPI</a>, or the Networking series.</li>
|
||||
<li>Episodes for the <a href="<!--% absolute_url(baseurl,'series/0007.html') %-->">LPI</a>, or the Networking series.</li>
|
||||
<li><a href="http://opensourcemusician.com/index.php/Beginning_Audio_Series_for_HPR_and_OSMP_Release">Beginning Audio Series for HPR and OSMP Release</a></li>
|
||||
<li>Hackintosh computers - what are they, why would you want one.</li>
|
||||
<li>Grub 2.0 introduction and customization.</li>
|
||||
@@ -23,8 +23,8 @@
|
||||
<li>How I Got Into Accessible Computing</li>
|
||||
<li>How to do knitting</li>
|
||||
<li>How to build a house</li>
|
||||
<li>Bitcoin howto <a href="<!--% absolute_url(baseurl) %-->eps/hpr0788/index.html">hpr0788</a></li>
|
||||
<li>How to solder <a href="<!--% absolute_url(baseurl) %-->eps/hpr1037/index.html">hpr1037</a>, <a href="<!--% absolute_url(baseurl) %-->eps/hpr1047/index.html">hpr1047</a></li>
|
||||
<li>Bitcoin howto <a href="<!--% absolute_url(baseurl,'eps/hpr0788/index.html') %-->">hpr0788</a></li>
|
||||
<li>How to solder <a href="<!--% absolute_url(baseurl,'eps/hpr1037/index.html') %-->">hpr1037</a>, <a href="<!--% absolute_url(baseurl,'eps/hpr1047/index.html') %-->">hpr1047</a></li>
|
||||
<li>How to weld</li>
|
||||
<li>How to fix a car</li>
|
||||
<li>Reviews of stream playing software, (for linuxheads who don't want to keep a browser tab open all the time)</li>
|
||||
|
Reference in New Issue
Block a user