summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-03-09 12:08:30 -0400
committerluxagraf <sng@luxagraf.net>2015-03-09 12:08:30 -0400
commite8a3b0c7898eec7791ef97e550f950b1f0b75ba0 (patch)
treef565f363c9dd642f4234ff9b7f04e6510358fb17 /design/templates
parentb8b640ae95b5feda4a2c6d873ae1ce9fda2b36ac (diff)
added build function to backup posts as text files with yaml metadata
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/details/entry-bak.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/design/templates/details/entry-bak.txt b/design/templates/details/entry-bak.txt
new file mode 100644
index 0000000..4244d0e
--- /dev/null
+++ b/design/templates/details/entry-bak.txt
@@ -0,0 +1,13 @@
+---
+template: {{object.get_template_name_display}}
+point: {{object.latitude}},{{object.longitude}}
+location: {{object.location.name|safe}},{{object.state.name|safe}},{{object.country.name|safe}}
+image: {{object.get_image_url}}
+desc: {{object.meta_description|safe}}
+dek: {{object.dek|safe}}
+pub_date: {{object.pub_date}}
+title: {{object.title|safe}}
+
+---
+
+{{object.body_markdown|safe}}