diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-09 16:15:07 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-09 16:15:07 +0100 |
commit | 2d4f92ef2685da8f43c970345513ec9d0107dffc (patch) | |
tree | 5f10fd9345a9d631aeb4ddd8f0ab9c8f204b8252 /src/main/resources/templates | |
parent | e28673d659e1b1f7a5b1a6a9c00aec18503d84a6 (diff) |
Book Marx: Implement basic viewer.
Change-Id: I5a878ca82d8489c6a87c86f66a49a085f168f86c
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r-- | src/main/resources/templates/benki/bookmarks/bookmarkList.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/main/resources/templates/benki/bookmarks/bookmarkList.html b/src/main/resources/templates/benki/bookmarks/bookmarkList.html new file mode 100644 index 0000000..4ad97fd --- /dev/null +++ b/src/main/resources/templates/benki/bookmarks/bookmarkList.html @@ -0,0 +1,33 @@ +{@java.util.List<eu.mulk.mulkcms2.benki.bookmarks.Bookmark> bookmarks} + +{#include base.html} + +{#title}Benki Bookmarks{/title} +{#siteSection}Bookmarks{/siteSection} +{#bookmarksClass}this-page{/bookmarksClass} + +{#head}{/head} + +{#body} + +{#for bookmark in bookmarks} + {#with bookmark} + <article class="bookmark"> + <header> + <a href="{uri}"><h1 class="bookmark-title">{title}</h1></a> + <div> + <time datetime="{date.htmlDateTime}">{date.humanDateTime}</time> + <span class="bookmark-owner">{owner.firstName} {owner.lastName}</span> + </div> + </header> + + <section class="bookmark-description"> + {description} + </section> + </article> + {/with} +{/for} + +{/body} + +{/include} |