{%include concat(template.path, '/links.html')%} {%include concat(template.path, '/header.html')%} {% set widgetname = 'blog' %} {% set pkid = xget('pkid') %} {% if pkid is not null %} {% set addViews = ioCallAction( 'io.model.cms20.content.blog.addViews', { pkid: pkid, widget_name: widgetname, } ) %} {% set data = widgetDataByType( 'blog', { widget_name: widgetname, start: 0, limit: 1, filter: { public: 1, lang: (site.languages[currentlang] is defined ? currentlang : site.langdefault), pkid: pkid, '<=ugmtimePublic': time() }, viewall: 1, } ).res.0 %} {{setTitlePre(data.head~' - '~page.name)}} {% if data.image is not null and data.image != '' %} {{setMetaImage('//'~site.domain~'/files/sites/'~data.site_owner~'/'~data.widget_name~'/'~data.image)}} {% endif %} {% if data.tag %} {{setMetaKeywordsPre(data.tag)}} {% endif %} {{writeMetaArticle(widgetname, pkid, currentlang)}}
{{translate['eop.view_news_on_site']}}