Browse Source

Page src text added to meta view

master
Dirk Alders 3 months ago
parent
commit
6e720eb3ac
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      pages/page.py

+ 3
- 1
pages/page.py View File

171
         #
171
         #
172
         meta = f'|{_("Created")}:|{ctime}|\n'
172
         meta = f'|{_("Created")}:|{ctime}|\n'
173
         meta += f'|{_("Modified")}:|{mtime}|\n'
173
         meta += f'|{_("Modified")}:|{mtime}|\n'
174
-        meta += f'|{_("Editor")}|{user}|\n\n'
174
+        meta += f'|{_("Editor")}|{user}|\n'
175
+        meta += f'=== {_("Page content")}\n'
176
+        meta += '{{{\n%s\n}}}\n' % self.raw_page_src
175
         #
177
         #
176
         return mycreole.render_simple(meta)
178
         return mycreole.render_simple(meta)
177
 
179
 

Loading…
Cancel
Save