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:
		| @@ -81,7 +81,7 @@ | ||||
|     <nav class="column"> | ||||
|       <h2>Social</h2> | ||||
|       <ul> | ||||
|         <li><a href="<!--% absolute_url(baseurl) %-->/maillist" >Mailing list</a></li> | ||||
|         <li><a href="<!--% absolute_url(baseurl,'/maillist') %-->" >Mailing list</a></li> | ||||
|         <li><a href="https://botsin.space/@hpr" >Mastodon</a></li> | ||||
|         <li><a href="https://matrix.to/#/#hpr:matrix.org" >Matrix</a></li> | ||||
|         <li><a href="mumble://chatter.skyehaven.net:64738/Hacker%20Public%20Radio?version=1.2.0" >Mumble</a></li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user