mirror of
https://github.com/writeas/writefreely
synced 2024-12-08 06:31:47 +01:00
99489aa920
"zip" doesn't really describe what the posts themselves are exported as. "txt" does.
29 lines
764 B
Cheetah
29 lines
764 B
Cheetah
{{define "export"}}
|
|
{{template "header" .}}
|
|
|
|
<div class="snug content-container">
|
|
<h2 id="posts-header">Export</h2>
|
|
<p>Your data on {{.SiteName}} is always free. Download and back-up your work any time.</p>
|
|
|
|
<table class="classy export">
|
|
<tr>
|
|
<th style="width: 40%">Export</th>
|
|
<th colspan="2">Format</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Posts</th>
|
|
<td><p class="text-cta"><a href="/me/posts/export.csv">CSV</a></p></td>
|
|
<td><p class="text-cta"><a href="/me/posts/export.zip">TXT</a></p></td>
|
|
</tr>
|
|
<tr>
|
|
<th>User + Blogs + Posts</th>
|
|
<td><p class="text-cta"><a href="/me/export.json">JSON</a></p></td>
|
|
<td><p class="text-cta"><a href="/me/export.json?pretty=1">Prettified</a></p></td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{template "footer" .}}
|
|
{{end}}
|