mirror of
https://github.com/writeas/writefreely
synced 2024-12-11 16:18:07 +01:00
bdc4f270f8
This allows admin to edit these pages from the web, using Markdown. It also dynamically loads information on those pages now, and makes loading `pages` templates a little easier to find in the code / more explicit. It requires this new schema change: CREATE TABLE IF NOT EXISTS `appcontent` ( `id` varchar(36) NOT NULL, `content` mediumtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; This closes T533
10 lines
244 B
Cheetah
10 lines
244 B
Cheetah
{{define "head"}}<title>{{.SiteName}} Privacy Policy</title>
|
|
{{end}}
|
|
{{define "content"}}<div class="content-container snug">
|
|
<h1>Privacy Policy</h1>
|
|
<p style="font-style:italic">Last updated {{.Updated}}</p>
|
|
|
|
{{.Content}}
|
|
</div>
|
|
{{end}}
|