Commit Graph

358 Commits

Author SHA1 Message Date
1d4e6e15b7
Refactor templates to use media_path MACRO 2022-10-01 13:42:46 -04:00
d556e28e2d
Consume root_template properties generically
Allow user to define root_template properties in the site.cfg file
without need to modify site_generator program.
2022-10-01 13:33:59 -04:00
fb70ae6253
Add media_path MACRO to shared utilities
Generate the full URL of an audio file.
2022-10-01 13:23:36 -04:00
64ae9c4f86
Refactor media_baseurl MACRO to media_basepath MACRO
Prevent name collision with media_basepath root_template/page property
of same name. Also fix application of trailing forward slash to path
based on existence of baseurl property.
2022-10-01 13:18:35 -04:00
b0d31ee507
Allow user to modify zero_pad_left MACRO's padding
Add optional pad length argument
2022-10-01 12:51:11 -04:00
Roan Horning
6ac65212d7 Merge pull request '[I50] Fix ordering by episode id' (#51) from I50_Fix-ordering-by-episode-id into main
Reviewed-on: rho_n/hpr_generator#51
2022-09-22 01:47:25 +00:00
991b3dcec1
Update SQL query to order results by id 2022-09-21 21:18:48 -04:00
Roan Horning
1c9eb16934 Merge pull request '[I48] Fix MACRO step_navigation' (#49) from I48_Fix-step-navigation into main
Reviewed-on: rho_n/hpr_generator#49
2022-09-20 02:03:41 +00:00
2eaaa11a69
Fix MACRO step_navigation
Check for existence of folder arg instead of empty value.
2022-09-19 22:00:18 -04:00
3723303e31
Fix absolute path for media links 2022-09-18 19:21:19 -04:00
Roan Horning
db46938de6 Merge pull request '[I46] Extract Listen Now markup to macro' (#47) from I46_Extract-Listen-Now-markup-to-macro into main
Reviewed-on: rho_n/hpr_generator#47
2022-09-18 20:32:32 +00:00
3054d6519e
Refactor template to use media_baseurl MACRO 2022-09-18 16:27:47 -04:00
c6e7a3c239
Refactor templates to use listen_now MACRO 2022-09-18 16:23:35 -04:00
dbf011395c
Add MACRO listen_now 2022-09-18 16:21:00 -04:00
c817e3a17a
Add MACRO media_baseurl
Allow the audio files to be served from a different host
2022-09-18 16:18:05 -04:00
0edf9cc5a2
Fix missing id generation for twat episdoe files 2022-09-18 15:36:24 -04:00
Roan Horning
4d34f762d0 Merge pull request '[I43] Integrate twat episodes' (#45) from I43_Today-With-a-Techie-Archived-Shows into main
Reviewed-on: rho_n/hpr_generator#45
2022-09-17 21:47:38 +00:00
dbd9f8e973
Integrate twat episodes
Add twat shows to the full episodes index, the host pages.
Add individule twat episodes.
2022-09-17 17:28:39 -04:00
Ken Fallon
4fdb32934b Added viewport
Google reports issues with this so I added it
https://web.dev/responsive-web-design-basics/#viewport
2022-09-09 07:45:49 +00:00
Roan Horning
5bd96f69e0 Merge pull request 'Calculate date till next available episode slot' (#40) from I39_days-till-next-available-episode into main
Reviewed-on: rho_n/hpr_generator#40
2022-09-06 00:33:17 +00:00
38d2e7c363
Calculate date till next available episode slot 2022-09-05 20:26:12 -04:00
Roan Horning
7691209360 Merge pull request '[I37] Fix display of meta data on the episode page' (#38) from I37_Fix-display-meta-data-episode-page into main
Reviewed-on: rho_n/hpr_generator#38
2022-09-02 22:29:44 +00:00
f7216132a4
Update episode template to match current HPR layout and content 2022-09-02 18:23:50 -04:00
67a8a2bfa4
Add MACRO display_listen_in 2022-09-02 18:21:15 -04:00
cfd463d2b0
Add MACRO display_comments_tally 2022-09-01 23:05:59 -04:00
91cbc81a12
Add MACRO display_tags 2022-09-01 22:58:24 -04:00
Roan Horning
c1a83f8baf Merge pull request '[I35] Add episode comment tally' (#36) from I35_Add-comment-tally into main
Reviewed-on: rho_n/hpr_generator#36
2022-09-01 01:08:45 +00:00
3b72fe6d28
Add comments to episode page 2022-08-31 20:44:31 -04:00
76b976732b
Add comment tally to index page 2022-08-31 20:43:43 -04:00
Roan Horning
bf60d35ed1 Merge pull request '[I33] Format episode duration' (#34) from I33_episode-duration into main
Reviewed-on: rho_n/hpr_generator#34
2022-08-30 02:03:13 +00:00
e2cf52af6e
Use MACRO display_episode_duration in templates 2022-08-29 21:59:24 -04:00
414bae101a
Add MACRO display_episode_duration
Format duration as hh:mm:ss
2022-08-29 21:54:42 -04:00
Roan Horning
082ea4069d Merge pull request '[I31] Fix URL to individual series page on series index page' (#32) from I31_Fix-URL into main
Reviewed-on: rho_n/hpr_generator#32
2022-08-26 00:17:33 +00:00
dfbb4a24db
Add missing MACRO absolute_path to link path 2022-08-25 20:10:21 -04:00
4e1d525e6e
Merge branch 'main' of repo.anhonesthost.net:rho_n/hpr_generator 2022-08-19 22:20:17 -04:00
694c100bcf
Add command line option all
Use --all or -a when calling site-generator instead of special page
ALL to generate all the configured pages for a website.
2022-08-19 22:19:50 -04:00
52a314f2a9
Add command line option all
Use --all or -a when calling site-generator instead of special page
ALL to generate all the configured pages for a website.
2022-08-19 22:11:38 -04:00
b36293e52f
Fix generation of series general page 2022-08-19 21:25:14 -04:00
02eb8313d3
Fix links in intro text of index page 2022-08-18 21:26:57 -04:00
ff2ced6774
Fix capitalization of introduction text on index page 2022-08-18 21:19:32 -04:00
0dc5a78dae
Fix links in sitemap content template 2022-08-18 17:55:42 -04:00
9d0e8d403d
Fix importing of template date plugin
Add USE directive to import date plugin. Worked locally with out it
in this file, but was needed when trying on a different machine.
2022-08-18 17:39:17 -04:00
5af4d93c8c
Update links to HPR total feeds 2022-08-17 23:42:45 -04:00
cf001df9ec
Add feed hpr_total
This includes all three audio type feeds
2022-08-17 22:41:59 -04:00
6d4f5f28c9
Refactor main feed to need fewer templates
Add configuration properties to minimize the number of templates
needed to generate the different audio format feeds.
2022-08-17 22:32:32 -04:00
17ef26642a
Add page Will my show be of interest to hackers 2022-08-17 21:30:54 -04:00
91349eb504
Update links to main RSS feeds in page.tpl.html 2022-08-17 19:20:22 -04:00
83c188465d
Fix setting of RSS feed enclosures mime-type
Mime-type does not always match file extension.
2022-08-17 19:16:22 -04:00
41a18300eb
Allow page to configure root_template in configuration file
RSS commits will be broken before this commit.
2022-08-17 19:13:42 -04:00
5b48b91e99
Add main HPR SPX feed 2022-08-17 18:08:45 -04:00