summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/archivepage.tmpl27
-rw-r--r--templates/blogpost.tmpl30
-rw-r--r--templates/page.tmpl11
-rw-r--r--tracker.mdwn2
-rw-r--r--tracker/Merge_wiki_website_and_website.mdwn2
5 files changed, 65 insertions, 7 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
new file mode 100644
index 0000000..738abcc
--- /dev/null
+++ b/templates/archivepage.tmpl
@@ -0,0 +1,27 @@
+<hr/>
+<div class="archivepage row">
+ <div class="col-md-8 col-sm-8">
+ <TMPL_IF PERMALINK>
+ <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+ <TMPL_ELSE>
+ <a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+ </TMPL_IF>
+ <TMPL_LOOP TAGS>
+ &nbsp;<span class="label label-default"><TMPL_VAR LINK></span>
+ </TMPL_LOOP>
+ </div>
+ <div class="col-md-4 col-sm-4 text-muted">
+ <span class="archivepagedate">
+ <small><TMPL_VAR CTIME></small>
+ <TMPL_IF AUTHOR>
+ by <span class="author">
+ <TMPL_IF AUTHORURL>
+ <a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
+ <TMPL_ELSE>
+ <TMPL_VAR AUTHOR>
+ </TMPL_IF>
+ </span>
+ </TMPL_IF>
+ </span>
+ </div>
+</div>
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl
new file mode 100644
index 0000000..6156881
--- /dev/null
+++ b/templates/blogpost.tmpl
@@ -0,0 +1,30 @@
+<p class="text-right">
+ <TMPL_IF RSSURL>
+ <a class="label label-info" type="application/rss+xml" rel="alternate"
+ title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
+ </TMPL_IF>
+ <TMPL_IF ATOMURL>
+ <a class="label label-info" type="application/atom+xml" rel="alternate"
+ title="<TMPL_VAR ATOMDESC>" href="<TMPL_VAR ATOMURL>">Atom</a>
+ </TMPL_IF>
+</p>
+<form <TMPL_IF POSTFORMID>id="<TMPL_VAR POSTFORMID ESCAPE=HTML>"</TMPL_IF>
+ action="<TMPL_VAR CGIURL>" method="get" class="form-inline">
+ <input type="hidden" name="do" value="blog" />
+ <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" />
+ <input type="hidden" name="subpage" value="1" />
+ <div class="row">
+ <div class="panel panel-default col-md-10 col-md-offset-1">
+ <div class="panel-body">
+ <span class="text-uppercase text-muted">
+ <strong><TMPL_VAR POSTFORMTEXT></strong>&nbsp;
+ </span>
+ <div class="form-group">
+ <label for="title" class="sr-only">Title</label>
+ <input class="form-control" placeholder="Title" name="title" size="40" />
+ </div>
+ <input type="submit" value="Edit" class="btn btn-default"/>
+ </div>
+ </div>
+ </div>
+</form>
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 14d48d9..49b536d 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -124,13 +124,12 @@
<!-- -->
<!-- FOOTER -->
+ <TMPL_IF TAGS>
+ <p><TMPL_LOOP TAGS>
+ <span class="label label-default"><TMPL_VAR LINK></span>
+ </TMPL_LOOP></p>
+ </TMPL_IF>
<p>
- <TMPL_IF TAGS>
- Tags:
- <TMPL_LOOP TAGS>
- <TMPL_VAR LINK>
- </TMPL_LOOP>
- </TMPL_IF>
<TMPL_IF MTIME>
<span class="glyphicon glyphicon-calendar"></span> Last modified <em><TMPL_VAR MTIME></em>
</TMPL_IF>
diff --git a/tracker.mdwn b/tracker.mdwn
index 52605ab..3dc3be2 100644
--- a/tracker.mdwn
+++ b/tracker.mdwn
@@ -2,4 +2,6 @@ This is a rudimentary issue trackers for fripost. Feel free to use it to report
A list of closed issues is available [[here|tracker/closed]]
+## Open issues
+
[[!inline pages="tracker/* and !*/Discussion and !*/*/*.* and !link(closed) and !tracker/closed" show="10" rootpage="tracker" postformtext="Open a new issue" archive="yes"]]
diff --git a/tracker/Merge_wiki_website_and_website.mdwn b/tracker/Merge_wiki_website_and_website.mdwn
index 1039728..17e16d1 100644
--- a/tracker/Merge_wiki_website_and_website.mdwn
+++ b/tracker/Merge_wiki_website_and_website.mdwn
@@ -1,4 +1,4 @@
-Tags: [[wiki]] [[website]]
+[[!tag wiki]] [[!tag website]]
Redesign the Fripost's wiki to function as a outsider facing website
and merge the content of the org-mode based into the wiki.