summaryrefslogtreecommitdiffstats
path: root/templates/html
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-05-18 15:41:36 -0400
committerrsiddharth <s@ricketyspace.net>2019-05-18 15:41:36 -0400
commit1d74a74ad8dfee22ecffd91d2410258eb77613cd (patch)
tree7118d74ebd1a8bb1c78bee0cc22eeaac339c3d2e /templates/html
parentb577131d5b9b718460d4a645f21f0829f0694111 (diff)
bin: Refactor html.
Update html to generate html for all sections written in markdown (news, articles). * bin/html (SECTIONS): New variable. (files): Add arg `sec`. (html, process): Rewrite functions. (run): Process different sections. * templates/html/news.html: Template NEW-ITEM-TITLE -> ITEM-TITLE.
Diffstat (limited to 'templates/html')
-rw-r--r--templates/html/news.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/news.html b/templates/html/news.html
index ff4c932..7f60c6f 100644
--- a/templates/html/news.html
+++ b/templates/html/news.html
@@ -1,7 +1,7 @@
<!--#include virtual="/includes/html-open.html"-->
<!--#include virtual="/includes/header-open.html"-->
-<title><!-- NEWS-ITEM-TITLE --> &mdash; News &mdash; Free Software Foundation India</title>
+<title><!-- ITEM-TITLE --> &mdash; News &mdash; Free Software Foundation India</title>
<!--#include virtual="/includes/header-close.html"-->
<!--#include virtual="/includes/body-open.html"-->
@@ -15,7 +15,7 @@
<div class="header">
<hgroup>
<h1><span class="tag is-medium">News</span></h1>
- <h2><!-- NEWS-ITEM-TITLE --></h2>
+ <h2><!-- ITEM-TITLE --></h2>
</hgroup>
</div>