A clean, Markdown-based publishing platform made for writers. Write together, and build a community. https://writefreely.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
673 B

  1. {{define "pages"}}
  2. {{template "header" .}}
  3. <style>
  4. table.classy.export .disabled, table.classy.export a {
  5. text-transform: initial;
  6. }
  7. </style>
  8. <div class="snug content-container">
  9. {{template "admin-header" .}}
  10. <h2 id="posts-header" style="display: flex; justify-content: space-between;">Pages</h2>
  11. <table class="classy export" style="width:100%">
  12. <tr>
  13. <th>Page</th>
  14. <th>Last Modified</th>
  15. </tr>
  16. {{range .Pages}}
  17. <tr>
  18. <td><a href="/admin/page/{{.ID}}">{{if .Title.Valid}}{{.Title.String}}{{else}}{{.ID}}{{end}}</a></td>
  19. <td style="text-align:right">{{.UpdatedFriendly}}</td>
  20. </tr>
  21. {{end}}
  22. </table>
  23. </div>
  24. {{template "footer" .}}
  25. {{end}}