Moritz Heidkamp  committed 3c1278e

Update page example and add foo part

  • Participants
  • Parent commits 3f26c89

Comments (0)

Files changed (2)

File ideas/page-dir/src/a-nice-page/

+this is [foo](page:a-nice-page)

File ideas/page-dir/src/a-nice-page/page.scm

-;; (with-input-from-file "" read-markdown)
-;; Adds an entry to a global (pages) alist parameter. The key will be
-;; the directory this file lives in (i.e. "/a-nice-page"), the value
-;; will be a page record (much like the one in hyde).
   extension: "html" ;; (match-pages '((* extension: "html")))
   title: "A nice page"
   ;; this is the default
-  ;;  render: (list (with-template (part 'content 'index) 'default))
-  render: (list default-content-renderer))
+  render: (list default-content-renderer
+                (part 'foo)))