Commit f454e01e authored by Matt Mascarenhas's avatar Matt Mascarenhas

Add -s flag, project info and CINERA_PROJECT tag

-s flag sets the style / theme
Also some general code clean-up and repo organisation
parent 24f02aec
......@@ -66,6 +66,7 @@ anything invalid, `cinera` will tell you what's wrong
Valid tags:
- `<!-- __CINERA_PROJECT__ -->` _the project's full name_
- `<!-- __CINERA_TITLE__ -->` _the day / episode name, intended to be used
inside your own `<title>` element, but may be used wherever and as many times
as you want on your page_
......@@ -114,6 +115,9 @@ Valid tags:
Force integration with an incomplete template
-p <project ID>
Set the project ID, corresponding to the "project" field in the HMML files
-s <style>
Set the style / theme, corresponding to a cinera__*.css file
This is equal to the "project" field in the HMML files by default
-l <n>
Override default log level (0), where n is from 0 (terse) to 7 (verbose)
-m <default medium>
......
This diff is collapsed.
<!-- Index template -->
<html>
<head>
<title>RISCY BUSINESS Episode Guide</title>
<title><!-- __CINERA_PROJECT__ --> Episode Guide</title>
<!-- __CINERA_INCLUDES__ -->
</head>
<body>
<h1 style="background-color: #3399FF; text-align:center; width: 100%; margin: 0 auto">RISCY BUSINESS Episode Guide</h1>
<h1 style="background-color: #3399FF; text-align:center; width: 100%; margin: 0 auto"><!-- __CINERA_PROJECT__ --> Episode Guide</h1>
<div>This should just be the table of contents, heroes and heroines</div>
<!-- __CINERA_INDEX__ -->
</body>
......
<!-- Player template -->
<html>
<head>
<title><!-- __CINERA_TITLE__ --> - RISCY BUSINESS</title>
<title><!-- __CINERA_TITLE__ --> - <!-- __CINERA_PROJECT__ --></title>
<!-- __CINERA_INCLUDES__ -->
</head>
<!-- 1. This is a random comment. How does this affect it, if at all? -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment