[def path template-param("path")] [def lang template-param("lang")] [def banner template-param("banner")] [def banner-title-black template-param("banner-title-black")] [def banner-center-fixed template-param("banner-center-fixed")] [def banner-title-shadow template-param("banner-title-shadow")] [def hide-additional-content-frontpage template-param("hide-additional-content-frontpage")] [if lang = null] [def lang "no"] [endif] [if path = null] [def path "/"] [endif] [def path-without-slash path] [def path concat(path, "/")] [def request request-context()] [def resourceType resource-prop(".", "resourceType")] [def isTagListing (request.request-url.parameters.vrtx != null && request.request-url.parameters.vrtx = "tags")] [def isSearch (request.request-url.parameters.vrtx != null && request.request-url.parameters.vrtx = "search")] [if lang = "en"] [def blog-feed-title "Recent posts"] [def blog-tags-title "Tags"] [def blog-recent-comments-title "Recent comments"] [else] [def blog-feed-title "Siste innlegg"] [def blog-tags-title "Emneord"] [def blog-recent-comments-title "Siste kommentarer"] [endif] [call "document:element" {"select":"html.head.title"}]_澳门葡京手机版app下载 [call "document:element" {"select":"html.head", "exclude":"title"}] [if banner != null]
[endif]
[if banner = null] [endif] [call "document:element" {"select": "#vrtx-main-content"}] [if resourceType = "html" || resourceType = "collection" || resourceType = "article-listing" || resourceType = "event-listing" || resourceType = "image" || isTagListing] [call "document:body"] [endif]
[if resourceType = "blog-listing" && isTagListing = false && isSearch = false] [if hide-additional-content-frontpage = null] [call "document:element" {"select": "#vrtx-additional-content"}] [else] [endif] [else] [endif]
[if resourceType != "blog-listing"]

[val blog-feed-title]

[call "include:feed" {"url": path + "?vrtx=feed", "item-picture": "true", "item-description": "false", "display-feed-title": "false", "all-messages-link": "false", "max-messages": 3, "published-date": "date", "element-order": "picture,title,publishDate"}]
[endif]
[call "include:file" {"file": path + "include/include.html", "element": "#blog-about-image"}]
[call "include:file" {"file": path + "include/include.html", "element": "#blog-about"}]