forked from HPR/hpr_generator
		
	Remove MySQL specific code from site generation code
- site-generator is generic, so no changes. - removed mysql information from site.cfg. - Updated template files to call sqlite queries directly. - Renamed the query files - remove sqlite from file names. - Deleted MySQL specific template files.
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
| <!--% PROCESS 'shared-show-transcript.tpl.html' %--> | ||||
| <!--% PROCESS 'shared-call_for_shows.tpl.html' %--> | ||||
| <!--% INCLUDE 'content-index-announcement.tpl.html' %--> | ||||
| <!--% PROCESS "queries-index-${constants.database}.tpl.html" %--> | ||||
| <!--% PROCESS "queries-index.tpl.html" %--> | ||||
| <!--% MACRO tidy_notes(all_lines) BLOCK %--> | ||||
| <!--% lines = all_lines %--> | ||||
| <!--% after_html = all_lines %--> | ||||
| @@ -29,7 +29,7 @@ | ||||
|         <h3>Welcome to HPR, the Community Podcast</h3> | ||||
|     </header> | ||||
| 	<!--% days_till_next_episode = 0 %--> | ||||
| 	<!--% USE DBI(constants.driver, constants.user, constants.password) %--> | ||||
| 	<!--% USE DBI(constants.driver) %--> | ||||
| 	<!--% USE date %--> | ||||
| 	<!--% calc = date.calc %--> | ||||
| 	<!--% episodes = DBI.query(query_next_available_episode).get_all() %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user