mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 03:24:11 +00:00
9cb0f80921
Now admins can choose a title for their About and Privacy pages; now editable through the instance page editor. This adds `title` and `content_type` fields to the `appcontent` table, requiring a migration by running `writefreely --migrate` The content_type field specifies that items we're currently storing in this table are all "page"s; queries for fetching these have been updated to filter for this type. In the future, this field will be used to indicate when an item is a stylesheet (ref T563) or other supported type. Ref T566
10 lines
312 B
Cheetah
10 lines
312 B
Cheetah
{{define "head"}}<title>{{.ContentTitle}} — {{.SiteName}}</title>
|
|
<meta name="description" content="{{.PlainContent}}">
|
|
{{end}}
|
|
{{define "content"}}<div class="content-container snug">
|
|
<h1>{{.ContentTitle}}</h1>
|
|
<p style="font-style:italic">Last updated {{.Updated}}</p>
|
|
|
|
{{.Content}}
|
|
</div>
|
|
{{end}}
|