Current oav website
This commit is contained in:
32
dotclear._no/inc/public/default-templates/dotty/404.html
Normal file
32
dotclear._no/inc/public/default-templates/dotty/404.html
Normal file
@ -0,0 +1,32 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:lang Document not found}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-404"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<header id="content-info">
|
||||
<h2>{{tpl:lang Document not found}}</h2>
|
||||
<p>{{tpl:lang URL you've tried has typos, or the page has been deleted or moved.}}</p>
|
||||
</header>
|
||||
|
||||
<div class="content-inner">
|
||||
<h3>{{tpl:lang Suggestions:}}</h3>
|
||||
<ul>
|
||||
<li><a href="{{tpl:BlogURL}}">{{tpl:lang Go to homepage}}</a></li>
|
||||
<li><a href="#search">{{tpl:lang Use search form}}</a></li>
|
||||
<li><a href="{{tpl:BlogURL}}archive">{{tpl:lang Explore archives}}</a></li>
|
||||
</ul>
|
||||
</div> <!-- # End #content-inner -->
|
||||
</tpl:Block>
|
||||
@ -0,0 +1,7 @@
|
||||
# Dotty
|
||||
|
||||
Un nouveau jeu de templates pour Dotclear (versions ≥ 2.10)
|
||||
|
||||
## Motivations
|
||||
|
||||
Le jeu de templates Dotty reprend la même structure que le jeu currywurst avec la différence qu'il tire parti des balises sémantiques spécifiques de HTML5 : section, article, aside, header, footer, …
|
||||
116
dotclear._no/inc/public/default-templates/dotty/__layout.html
Normal file
116
dotclear._no/inc/public/default-templates/dotty/__layout.html
Normal file
@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{tpl:BlogLanguage}}">
|
||||
<head>
|
||||
<tpl:Block name="html-head">
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
|
||||
</tpl:Block> <!-- # head-title -->
|
||||
|
||||
<tpl:Block name="head-meta">
|
||||
<meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
|
||||
</tpl:Block> <!-- # meta-robots -->
|
||||
<tpl:Block name="meta-entry">
|
||||
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
|
||||
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
|
||||
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
|
||||
</tpl:Block> <!-- # meta-entry -->
|
||||
</tpl:Block> <!-- # head-meta -->
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
<link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
|
||||
</tpl:Categories>
|
||||
|
||||
<tpl:Entries no_content="1">
|
||||
<tpl:EntriesHeader>
|
||||
<tpl:Pagination>
|
||||
<tpl:PaginationIf end="0">
|
||||
<link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
|
||||
<tpl:PaginationIf start="0">
|
||||
<link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
</tpl:Pagination>
|
||||
</tpl:EntriesHeader>
|
||||
|
||||
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
|
||||
</tpl:Entries>
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
|
||||
<link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
|
||||
</tpl:Block> <!-- # head-linkrel -->
|
||||
|
||||
{{tpl:include src="_head.html"}}
|
||||
</tpl:Block> <!-- # html-head -->
|
||||
</head>
|
||||
<tpl:Block name="body-tag">
|
||||
<body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>">
|
||||
</tpl:Block>
|
||||
<tpl:Block name="html-body">
|
||||
<div id="page">
|
||||
<tpl:Block name="body-page">
|
||||
<tpl:Block name="page-top">
|
||||
{{tpl:include src="_top.html"}}
|
||||
</tpl:Block> <!-- # page-top -->
|
||||
|
||||
<div id="wrapper">
|
||||
<tpl:Block name="page-wrapper">
|
||||
<main id="main" role="main">
|
||||
<tpl:Block name="wrapper-main">
|
||||
<tpl:Block name="main-breadcrumb">
|
||||
{{tpl:Breadcrumb}}
|
||||
</tpl:Block>
|
||||
<section id="content">
|
||||
<tpl:Block name="main-content">
|
||||
|
||||
<tpl:Entries>
|
||||
|
||||
<!-- # First page -->
|
||||
<tpl:SysIf current_mode="default">
|
||||
<tpl:LoopPosition start="1" length="1">
|
||||
{{tpl:include src="_entry-full.html"}}
|
||||
</tpl:LoopPosition>
|
||||
|
||||
<tpl:LoopPosition start="2">
|
||||
{{tpl:include src="_entry-short.html"}}
|
||||
</tpl:LoopPosition>
|
||||
</tpl:SysIf>
|
||||
|
||||
<!-- # Next pages -->
|
||||
<tpl:SysIf current_mode="!default">
|
||||
{{tpl:include src="_entry-short.html"}}
|
||||
</tpl:SysIf>
|
||||
|
||||
<!-- # Pagination -->
|
||||
<tpl:EntriesFooter>
|
||||
{{tpl:include src="_pagination.html"}}
|
||||
</tpl:EntriesFooter>
|
||||
|
||||
</tpl:Entries>
|
||||
|
||||
</tpl:Block> <!-- # main-content -->
|
||||
</section> <!-- # End #content -->
|
||||
</tpl:Block> <!-- # wrapper-main -->
|
||||
</main> <!-- # End #main -->
|
||||
|
||||
<tpl:Block name="wrapper-sidebar">
|
||||
{{tpl:include src="_sidebar.html"}}
|
||||
</tpl:Block> <!-- # wrapper-sidebar -->
|
||||
</tpl:Block> <!-- # page-wrapper -->
|
||||
</div> <!-- # End #wrapper -->
|
||||
|
||||
<tpl:Block name="page-footer">
|
||||
{{tpl:include src="_footer.html"}}
|
||||
</tpl:Block> <!-- # page-footer -->
|
||||
</tpl:Block> <!-- # body-page -->
|
||||
</div> <!-- # End #page -->
|
||||
</tpl:Block> <!-- # html-body -->
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,3 @@
|
||||
<audio controls preload="auto">
|
||||
<source src="{{tpl:MediaURL}}">
|
||||
</audio>
|
||||
@ -0,0 +1,65 @@
|
||||
<article class="post simple" id="p{{tpl:EntryID}}" role="article" lang="{{tpl:EntryLang}}">
|
||||
<header>
|
||||
<h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
|
||||
|
||||
<div class="post-meta">
|
||||
<p class="post-info">
|
||||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
|
||||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>. </span>
|
||||
<span class="post-permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
</p>
|
||||
|
||||
<tpl:EntryTags>
|
||||
<tpl:TagsHeader>
|
||||
<ul class="post-tags-list">
|
||||
</tpl:TagsHeader>
|
||||
<li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
|
||||
<tpl:TagsFooter>
|
||||
</ul>
|
||||
</tpl:TagsFooter>
|
||||
</tpl:EntryTags>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
||||
|
||||
<!-- # Entry with an excerpt -->
|
||||
<tpl:EntryIf extended="1">
|
||||
<div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<div class="post-content">{{tpl:EntryContent}}</div>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
||||
|
||||
<!-- # Attachments -->
|
||||
<tpl:Attachments>
|
||||
<tpl:AttachmentsHeader>
|
||||
<footer class="post-attachments" id="attachments">
|
||||
<h3 class="post-attachments-title">{{tpl:lang Attachments}}</h3>
|
||||
<ul class="post-attachments-list">
|
||||
</tpl:AttachmentsHeader>
|
||||
<li class="post-attachments-item {{tpl:AttachmentType}}">
|
||||
<tpl:AttachmentIf is_audio="1">
|
||||
{{tpl:include src="_audio_player.html"}}
|
||||
</tpl:AttachmentIf>
|
||||
<tpl:AttachmentIf is_video="1">
|
||||
{{tpl:include src="_video_player.html"}}
|
||||
</tpl:AttachmentIf>
|
||||
<tpl:AttachmentIf is_audio="0" is_video="0">
|
||||
<a href="{{tpl:AttachmentURL}}" title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
|
||||
</tpl:AttachmentIf>
|
||||
</li>
|
||||
<tpl:AttachmentsFooter>
|
||||
</ul>
|
||||
</footer>
|
||||
</tpl:AttachmentsFooter>
|
||||
</tpl:Attachments>
|
||||
</article>
|
||||
@ -0,0 +1,117 @@
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1">
|
||||
<section class="post-feedback">
|
||||
</tpl:EntryIf>
|
||||
|
||||
<!-- # Comments -->
|
||||
<tpl:EntryIf show_comments="1">
|
||||
<tpl:Comments with_pings="1">
|
||||
<tpl:CommentsHeader>
|
||||
<div class="feedback__comments" id="comments">
|
||||
<h3>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h3>
|
||||
<tpl:EntryIf operator="or" comments_active="1" pings_active="1">
|
||||
<p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
|
||||
title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p>
|
||||
</tpl:EntryIf>
|
||||
<ul class="comments-list">
|
||||
</tpl:CommentsHeader>
|
||||
<tpl:CommentIf is_ping="0">
|
||||
<li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
|
||||
</tpl:CommentIf>
|
||||
<tpl:CommentIf is_ping="1">
|
||||
<li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
|
||||
</tpl:CommentIf>
|
||||
<p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a>
|
||||
{{tpl:lang From}} {{tpl:CommentAuthorLink}} - <time datetime="{{tpl:CommentDate iso8601="1"}}">{{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}}</time>
|
||||
</p>
|
||||
<div class="comment-content">
|
||||
<!-- # --BEHAVIOR-- publicCommentBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
|
||||
|
||||
{{tpl:CommentContent}}
|
||||
|
||||
<!-- # --BEHAVIOR-- publicCommentAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentAfterContent"}}
|
||||
</div>
|
||||
</li>
|
||||
<tpl:CommentsFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:CommentsFooter>
|
||||
</tpl:Comments>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<tpl:EntryIf comments_active="1">
|
||||
<tpl:SysIfFormError>
|
||||
<p class="error" id="pr">{{tpl:SysFormError}}</p>
|
||||
</tpl:SysIfFormError>
|
||||
|
||||
<tpl:SysIfCommentPublished>
|
||||
<p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
|
||||
</tpl:SysIfCommentPublished>
|
||||
|
||||
<tpl:SysIfCommentPending>
|
||||
<p class="message" id="pr">{{tpl:lang Your comment has been submitted and will be reviewed for publication.}}</p>
|
||||
</tpl:SysIfCommentPending>
|
||||
|
||||
<!-- # Comment form -->
|
||||
<form class="comment-form" action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form">
|
||||
<tpl:IfCommentPreview>
|
||||
<div id="pr">
|
||||
<h3>{{tpl:lang Your comment}}</h3>
|
||||
<div class="comment-preview">{{tpl:CommentPreviewContent}}</div>
|
||||
<p class="buttons"><button type="submit" class="submit" value="{{tpl:lang Send}}">{{tpl:lang Send}}</button></p>
|
||||
</div>
|
||||
</tpl:IfCommentPreview>
|
||||
|
||||
<h3>{{tpl:lang Add a comment}}</h3>
|
||||
<!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
|
||||
|
||||
<p class="field name-field"><label for="c_name">{{tpl:lang Name or nickname}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label>
|
||||
<input name="c_name" id="c_name" type="text" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewName encode_html="1"}}" required />
|
||||
</p>
|
||||
|
||||
<p class="field mail-field"><label for="c_mail">{{tpl:lang Email address}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label>
|
||||
<input name="c_mail" id="c_mail" type="email" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewEmail encode_html="1"}}" required />
|
||||
</p>
|
||||
|
||||
<p class="field site-field"><label for="c_site">{{tpl:lang Website}} :</label>
|
||||
<input name="c_site" id="c_site" type="url" size="30" maxlength="255"
|
||||
value="{{tpl:CommentPreviewSite encode_html="1"}}" />
|
||||
</p>
|
||||
|
||||
<p style="display:none">
|
||||
<input name="f_mail" type="text" size="30" maxlength="255" value="" />
|
||||
</p>
|
||||
|
||||
<p class="field field-content"><label for="c_content">{{tpl:lang Comment}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label>
|
||||
<textarea name="c_content" id="c_content" cols="35"
|
||||
rows="7" required aria-describedby="c_help">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
|
||||
</p>
|
||||
|
||||
<p class="form-help" id="c_help">{{tpl:CommentHelp}}</p>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
|
||||
|
||||
<p class="buttons">
|
||||
<button type="submit" class="preview" name="preview" value="{{tpl:lang Preview}}">{{tpl:lang Preview}}</button>
|
||||
<tpl:IfCommentPreviewOptional>
|
||||
<button type="submit" class="submit" value="{{tpl:lang Send}}">{{tpl:lang Send}}</button>
|
||||
</tpl:IfCommentPreviewOptional>
|
||||
</p>
|
||||
</form>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<tpl:EntryIf pings_active="1">
|
||||
<div class="send-ping">
|
||||
<h3>{{tpl:lang Add ping}}</h3>
|
||||
<p id="ping-url">{{tpl:lang Trackback URL}} : {{tpl:EntryPingLink}}</p>
|
||||
</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1">
|
||||
</section> <!-- # end post-feedback -->
|
||||
</tpl:EntryIf>
|
||||
@ -0,0 +1,59 @@
|
||||
<article id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} full" lang="{{tpl:EntryLang}}" role="article">
|
||||
|
||||
<header>
|
||||
<!-- # New day date -->
|
||||
<tpl:DateHeader>
|
||||
<p class="post-day-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time></p>
|
||||
</tpl:DateHeader>
|
||||
|
||||
<h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
|
||||
</header>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
||||
|
||||
<tpl:EntryIf extended="1">
|
||||
<div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<div class="post-content">{{tpl:EntryContent}}</div>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
||||
|
||||
<footer class="post-meta">
|
||||
<p class="post-info">
|
||||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
|
||||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>.</span>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
|
||||
</span>
|
||||
</tpl:EntryIf>
|
||||
</p>
|
||||
|
||||
<tpl:EntryTags>
|
||||
<tpl:TagsHeader>
|
||||
<ul class="post-tags-list">
|
||||
</tpl:TagsHeader>
|
||||
<li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
|
||||
<tpl:TagsFooter>
|
||||
</ul>
|
||||
</tpl:TagsFooter>
|
||||
</tpl:EntryTags>
|
||||
|
||||
<!-- # Number of comments, trackbacks and attachments -->
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
|
||||
<p class="post-info-co">
|
||||
<tpl:EntryIf show_comments="1">
|
||||
<a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf show_pings="1">
|
||||
<a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
|
||||
<tpl:EntryIf has_attachment="1">
|
||||
<a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
|
||||
</p>
|
||||
</tpl:EntryIf>
|
||||
</footer>
|
||||
</article>
|
||||
@ -0,0 +1,81 @@
|
||||
<article id="p{{tpl:EntryID}}" class="post short {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
|
||||
|
||||
<header>
|
||||
<!-- # New day date -->
|
||||
<tpl:DateHeader>
|
||||
<p class="post-day-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time></p>
|
||||
</tpl:DateHeader>
|
||||
|
||||
<h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
|
||||
</header>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
||||
|
||||
<!-- # Entry with an excerpt -->
|
||||
<tpl:EntryIf extended="1">
|
||||
<div class="post-content">
|
||||
{{tpl:EntryFirstImage size="t" class="post-icon"}}
|
||||
{{tpl:EntryExcerpt}}
|
||||
</div>
|
||||
<p class="post-read-it"><a href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<!-- # Entry without excerpt -->
|
||||
<tpl:EntryIf extended="0">
|
||||
<div class="post-content">
|
||||
{{tpl:EntryFirstImage size="t" class="post-icon"}}
|
||||
<p>
|
||||
{{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}
|
||||
<tpl:EntryIfContentCut encode_html="1" remove_html="1" cut_string="300">
|
||||
<span class="ellipsis"> […]</span>
|
||||
</tpl:EntryIfContentCut>
|
||||
</p>
|
||||
</div>
|
||||
<tpl:EntryIfContentCut encode_html="1" remove_html="1" cut_string="300">
|
||||
<p class="post-read-it"><a href="{{tpl:EntryURL}}"
|
||||
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
|
||||
</tpl:EntryIfContentCut>
|
||||
</tpl:EntryIf>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
||||
|
||||
<footer class="post-meta">
|
||||
<p class="post-info">
|
||||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
|
||||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>.</span>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
|
||||
href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
</p>
|
||||
|
||||
<tpl:EntryTags>
|
||||
<tpl:TagsHeader>
|
||||
<ul class="post-tags-list">
|
||||
</tpl:TagsHeader>
|
||||
<li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
|
||||
<tpl:TagsFooter>
|
||||
</ul>
|
||||
</tpl:TagsFooter>
|
||||
</tpl:EntryTags>
|
||||
|
||||
<!-- # Number of comments, trackbacks and attachments -->
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
|
||||
<p class="post-info-co">
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf show_comments="1">
|
||||
<a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf show_pings="1">
|
||||
<a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
|
||||
<tpl:EntryIf has_attachment="1">
|
||||
<a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
|
||||
</p>
|
||||
</tpl:EntryIf>
|
||||
</footer>
|
||||
</article>
|
||||
@ -0,0 +1,45 @@
|
||||
<article id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} title" lang="{{tpl:EntryLang}}" role="article">
|
||||
|
||||
<header>
|
||||
<!-- # New day date -->
|
||||
<tpl:DateHeader>
|
||||
<p class="day-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time></p>
|
||||
</tpl:DateHeader>
|
||||
|
||||
<h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
|
||||
</header>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryBeforeContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
|
||||
|
||||
<!-- # --BEHAVIOR-- publicEntryAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicEntryAfterContent"}}
|
||||
|
||||
<footer class="post-meta">
|
||||
<p class="post-info">
|
||||
<span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
|
||||
<span class="post-date"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate}}</time>. </span>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<tpl:EntryCategoriesBreadcrumb>
|
||||
<span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
|
||||
</tpl:EntryCategoriesBreadcrumb>
|
||||
<span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
|
||||
</tpl:EntryIf>
|
||||
</p>
|
||||
<!-- # Number of comments, trackbacks and attachments -->
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
|
||||
<p class="post-info-co">
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf show_comments="1">
|
||||
<a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf show_pings="1">
|
||||
<a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
|
||||
<tpl:EntryIf has_attachment="1">
|
||||
<a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
|
||||
<tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
|
||||
</p>
|
||||
</tpl:EntryIf>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
@ -0,0 +1 @@
|
||||
<a href="{{tpl:AttachmentURL}}" title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
|
||||
17
dotclear._no/inc/public/default-templates/dotty/_footer.html
Normal file
17
dotclear._no/inc/public/default-templates/dotty/_footer.html
Normal file
@ -0,0 +1,17 @@
|
||||
<p id="gotop"><a href="#prelude">{{tpl:lang Page top}}</a></p>
|
||||
|
||||
<footer class="footer" id="footer" role="contentinfo">
|
||||
<tpl:IfWidgets type="custom">
|
||||
<div class="widgets footer__widgets" id="blogcustom">
|
||||
<h2 class="blogcustom__title">{{tpl:lang Blog info}}</h2>
|
||||
{{tpl:Widgets type="custom"}}
|
||||
</div> <!-- # End #custom widgets -->
|
||||
</tpl:IfWidgets>
|
||||
|
||||
{{tpl:SysBehavior behavior="publicInsideFooter"}}
|
||||
|
||||
<p>{{tpl:SysPoweredBy}}</p>
|
||||
</footer>
|
||||
{{tpl:SysBehavior behavior="publicFooterContent"}}
|
||||
|
||||
{{tpl:include src="user_footer.html"}}
|
||||
12
dotclear._no/inc/public/default-templates/dotty/_head.html
Normal file
12
dotclear._no/inc/public/default-templates/dotty/_head.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!-- # media queries -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{tpl:BlogThemeURL}}/style.css" media="screen" />
|
||||
<link rel="stylesheet" type="text/css" href="{{tpl:BlogQmarkURL}}pf=print.css" media="print" />
|
||||
|
||||
<tpl:SysIf jquery_needed="1">
|
||||
<script src="{{tpl:BlogQmarkURL}}pf={{tpl:BlogJsJQuery}}/jquery.js"></script>
|
||||
</tpl:SysIf>
|
||||
|
||||
{{tpl:include src="user_head.html"}}
|
||||
{{tpl:SysBehavior behavior="publicHeadContent"}}
|
||||
@ -0,0 +1,3 @@
|
||||
<audio controls preload="auto">
|
||||
<source src="{{tpl:MediaURL}}" type="audio/mpeg"/>
|
||||
</audio>
|
||||
@ -0,0 +1,13 @@
|
||||
<tpl:Pagination>
|
||||
<nav class="pagination">
|
||||
<tpl:PaginationIf end="0">
|
||||
<a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> -
|
||||
</tpl:PaginationIf>
|
||||
|
||||
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
|
||||
|
||||
<tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">
|
||||
{{tpl:lang next entries}} »</a>
|
||||
</tpl:PaginationIf>
|
||||
</nav>
|
||||
</tpl:Pagination>
|
||||
@ -0,0 +1,14 @@
|
||||
<aside class="sidebar" id="sidebar" role="complementary">
|
||||
<tpl:IfWidgets type="nav">
|
||||
<div class="widgets blognav__widgets" id="blognav">
|
||||
<h2 class="blognav__title">{{tpl:lang Blog menu}}</h2>
|
||||
{{tpl:Widgets type="nav"}}
|
||||
</div> <!-- # End #blognav -->
|
||||
</tpl:IfWidgets>
|
||||
<tpl:IfWidgets type="extra">
|
||||
<div class="widgets blogextra__widgets" id="blogextra">
|
||||
<h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2>
|
||||
{{tpl:Widgets type="extra"}}
|
||||
</div> <!-- # End #blogextra -->
|
||||
</tpl:IfWidgets>
|
||||
</aside>
|
||||
@ -0,0 +1,5 @@
|
||||
<!-- # Post content and attachments -->
|
||||
{{tpl:include src="_entry-content.html"}}
|
||||
|
||||
<!-- # Comments, pings and comment form -->
|
||||
{{tpl:include src="_entry-feedback.html"}}
|
||||
18
dotclear._no/inc/public/default-templates/dotty/_top.html
Normal file
18
dotclear._no/inc/public/default-templates/dotty/_top.html
Normal file
@ -0,0 +1,18 @@
|
||||
<div class="header">
|
||||
<ul class="skip-links" id="prelude">
|
||||
<li><a href="#main">{{tpl:lang To content}}</a></li>
|
||||
<li><a href="#blognav">{{tpl:lang To menu}}</a></li>
|
||||
<li><a href="#search">{{tpl:lang To search}}</a></li>
|
||||
</ul>
|
||||
|
||||
<header class="banner" role="banner">
|
||||
<h1 class="site-title"><a class="site-title__link"
|
||||
href="{{tpl:BlogURL}}"><span class="site-title__text">{{tpl:BlogName encode_html="1"}}</span></a></h1>
|
||||
<p class="site-baseline">{{tpl:BlogDescription}}</p>
|
||||
</header>
|
||||
|
||||
<!-- # --BEHAVIOR-- publicTopAfterContent -->
|
||||
{{tpl:SysBehavior behavior="publicTopAfterContent"}}
|
||||
|
||||
{{tpl:SimpleMenu class="nav header__nav"}}
|
||||
</div>
|
||||
@ -0,0 +1,3 @@
|
||||
<video controls preload="auto" style="width:400px; height:300px;">
|
||||
<source src="{{tpl:MediaURL}}">
|
||||
</video>
|
||||
117
dotclear._no/inc/public/default-templates/dotty/archive.html
Normal file
117
dotclear._no/inc/public/default-templates/dotty/archive.html
Normal file
@ -0,0 +1,117 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<tpl:Archives>
|
||||
<link rel="chapter" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" />
|
||||
</tpl:Archives>
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
<link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
|
||||
</tpl:Categories>
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-archive"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<header id="content-info">
|
||||
<h2>{{tpl:lang Archives}}</h2>
|
||||
</header>
|
||||
|
||||
<div class="content-inner">
|
||||
|
||||
<article id="time-criteria"><!-- # entries sorted by date -->
|
||||
<div id="arch-by-year" class="arch-block arch-by-year">
|
||||
<h3>{{tpl:lang By date}}</h3>
|
||||
<p class="fromto">{{tpl:lang FromDay}} <tpl:Entries no_content="1" order="asc" lastn="1"><a href="{{tpl:EntryURL}}"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate format="%e %B %Y"}}</time></a></tpl:Entries> {{tpl:lang toDay}} <tpl:Entries no_content="1" order="desc" lastn="1"><a href="{{tpl:EntryURL}}"><time datetime="{{tpl:EntryDate iso8601="1"}}">{{tpl:EntryDate format="%e %B %Y"}}</time></a></tpl:Entries></p>
|
||||
<tpl:Archives order="asc">
|
||||
<tpl:ArchivesYearHeader>
|
||||
<div class="arch-by-year__each-year">
|
||||
<h4><time datetime="{{tpl:ArchiveDate format="%Y"}}">{{tpl:ArchiveDate format="%Y"}}</time></h4>
|
||||
<ul class="arch-list arch-year-list">
|
||||
</tpl:ArchivesYearHeader>
|
||||
<li><a href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}"><time datetime="{{tpl:ArchiveDate format="%Y-%m"}}">{{tpl:ArchiveDate encode_html="1" format="%B"}}</time></a>
|
||||
<span>({{tpl:ArchiveEntriesCount}})</span></li>
|
||||
<tpl:ArchivesYearFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:ArchivesYearFooter>
|
||||
</tpl:Archives>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<article id="other-criteria"><!-- # entries sorted by others criterias -->
|
||||
<tpl:Categories level="1">
|
||||
<tpl:CategoriesHeader>
|
||||
<div id="arch-by-cat" class="arch-block arch-by-cat">
|
||||
<h3>{{tpl:lang By category}}</h3>
|
||||
<ul class="arch-list arch-cat-list">
|
||||
</tpl:CategoriesHeader>
|
||||
<li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a>
|
||||
<tpl:CategoryFirstChildren>
|
||||
<tpl:CategoriesHeader>
|
||||
<ul class="arch-list arch-sub-cat-list">
|
||||
</tpl:CategoriesHeader>
|
||||
<li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
|
||||
<tpl:CategoriesFooter>
|
||||
</ul>
|
||||
</tpl:CategoriesFooter>
|
||||
</tpl:CategoryFirstChildren>
|
||||
</li>
|
||||
<tpl:CategoriesFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:CategoriesFooter>
|
||||
</tpl:Categories>
|
||||
|
||||
<tpl:Tags sortby="count" order="desc">
|
||||
<tpl:TagsHeader>
|
||||
<div id="arch-by-tag" class="arch-block arch-by-tag">
|
||||
<h3>{{tpl:lang By tag}}</h3>
|
||||
<ul class="arch-list arch-tag-list">
|
||||
</tpl:TagsHeader>
|
||||
<li><a href="{{tpl:TagURL}}" class="tag{{tpl:TagRoundPercent}}">{{tpl:TagID}}</a></li>
|
||||
<tpl:TagsFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:TagsFooter>
|
||||
</tpl:Tags>
|
||||
</article>
|
||||
|
||||
<article id="more-arch"><!-- # others things -->
|
||||
<div id="arch-by-page" class="arch-block arch-by-page">
|
||||
<tpl:Entries type="page" no_content="1" lastn="0" selected="0">
|
||||
<tpl:EntriesHeader>
|
||||
<h3>{{tpl:lang Pages}}</h3>
|
||||
<ul class="arch-list arch-page-list">
|
||||
</tpl:EntriesHeader>
|
||||
<li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li>
|
||||
<tpl:EntriesFooter>
|
||||
</ul>
|
||||
</tpl:EntriesFooter>
|
||||
</tpl:Entries>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div> <!-- # End .content-inner -->
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="wrapper-sidebar">
|
||||
<aside class="sidebar" id="sidebar" role="complementary">
|
||||
<div class="widgets blognav__widgets" id="blognav">
|
||||
<tpl:Widget id="search">
|
||||
</tpl:Widget>
|
||||
</div> <!-- # End #blognav -->
|
||||
|
||||
<tpl:IfWidgets type="extra">
|
||||
<div class="widgets blogextra__widgets" id="blogextra">
|
||||
<h2 class="blogextra__title">{{tpl:lang Extra menu}}</h2>
|
||||
{{tpl:Widgets type="extra"}}
|
||||
</div> <!-- # End #blogextra -->
|
||||
</tpl:IfWidgets>
|
||||
</aside> <!-- # End #sidebar -->
|
||||
</tpl:Block>
|
||||
@ -0,0 +1,47 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:lang Archives}} - {{tpl:ArchiveDate}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
|
||||
<tpl:ArchiveNext><link rel="next" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchiveNext>
|
||||
<tpl:ArchivePrevious><link rel="prev" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" /></tpl:ArchivePrevious>
|
||||
|
||||
<tpl:Entries no_content="1">
|
||||
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
|
||||
</tpl:Entries>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-archive-month"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<nav class="navlinks topnl">
|
||||
<tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious>
|
||||
{{tpl:ArchiveDate}}
|
||||
<tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext>
|
||||
</nav>
|
||||
|
||||
<header id="content-info">
|
||||
<h2>
|
||||
<time datetime="{{tpl:ArchiveDate format="%Y-%m"}}">{{tpl:ArchiveDate}}</time> <span>({{tpl:ArchiveEntriesCount}})</span>
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<div class="content-inner">
|
||||
<tpl:Entries>
|
||||
{{tpl:include src="_entry-short.html"}}
|
||||
</tpl:Entries>
|
||||
</div>
|
||||
|
||||
<nav class="navlinks">
|
||||
<tpl:ArchivePrevious><a href="{{tpl:ArchiveURL}}" class="prev">« {{tpl:ArchiveDate encode_html="1"}}</a> - </tpl:ArchivePrevious>
|
||||
{{tpl:ArchiveDate}}
|
||||
<tpl:ArchiveNext> - <a href="{{tpl:ArchiveURL}}" class="next">{{tpl:ArchiveDate encode_html="1"}} »</a></tpl:ArchiveNext>
|
||||
</nav>
|
||||
</tpl:Block>
|
||||
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{tpl:BlogLanguage}}">
|
||||
<title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title>
|
||||
<subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle>
|
||||
<link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" />
|
||||
<link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/>
|
||||
<updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated>
|
||||
<author>
|
||||
<name>{{tpl:BlogEditor encode_xml="1"}}</name>
|
||||
</author>
|
||||
<id>{{tpl:BlogFeedID}}</id>
|
||||
<generator uri="https://www.dotclear.org/">Dotclear</generator>
|
||||
<tpl:Comments order="desc" with_pings="1">
|
||||
<tpl:CommentIf is_ping="1">
|
||||
<entry>
|
||||
<title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title>
|
||||
<link href="{{tpl:PingPostURL encode_xml=" 1 "}}#c{{tpl:PingID}}" rel="alternate" type="text/html" title="[ping] {{tpl:PingEntryTitle encode_xml=" 1 "}} - {{tpl:PingBlogName encode_xml="1 "}}" />
|
||||
<id>{{tpl:PingFeedID}}</id>
|
||||
<published>{{tpl:PingDate iso8601="1"}}</published>
|
||||
<updated>{{tpl:PingDate iso8601="1" upddt="1"}}</updated>
|
||||
<author>
|
||||
<name>{{tpl:PingBlogName encode_xml="1"}}</name>
|
||||
</author>
|
||||
<content type="html"><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</content>
|
||||
</entry>
|
||||
</tpl:CommentIf>
|
||||
<tpl:CommentIf is_ping="0">
|
||||
<entry>
|
||||
<title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title>
|
||||
<link href="{{tpl:CommentPostURL encode_xml=" 1 "}}#c{{tpl:CommentID}}" rel="alternate" type="text/html" title="{{tpl:CommentEntryTitle encode_xml=" 1 "}} - {{tpl:CommentAuthor encode_xml="1 "}}" />
|
||||
<id>{{tpl:CommentFeedID}}</id>
|
||||
<published>{{tpl:CommentDate iso8601="1"}}</published>
|
||||
<updated>{{tpl:CommentDate iso8601="1" upddt="1"}}</updated>
|
||||
<author>
|
||||
<name>{{tpl:CommentAuthor encode_xml="1"}}</name>
|
||||
</author>
|
||||
<content type="html">{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</content>
|
||||
</entry>
|
||||
</tpl:CommentIf>
|
||||
</tpl:Comments>
|
||||
</feed>
|
||||
44
dotclear._no/inc/public/default-templates/dotty/atom.xml
Normal file
44
dotclear._no/inc/public/default-templates/dotty/atom.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xml:lang="{{tpl:BlogLanguage}}">
|
||||
<title type="html">{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title>
|
||||
<subtitle type="html">{{tpl:BlogDescription encode_xml="1"}}</subtitle>
|
||||
<link href="{{tpl:SysSelfURI}}" rel="self" type="application/atom+xml" />
|
||||
<link href="{{tpl:BlogURL}}" rel="alternate" type="text/html" title="{{tpl:BlogDescription remove_html=" 1 " encode_xml="1 "}}"/>
|
||||
<updated>{{tpl:BlogUpdateDate iso8601="1"}}</updated>
|
||||
<author>
|
||||
<name>{{tpl:BlogEditor encode_xml="1"}}</name>
|
||||
</author>
|
||||
<id>{{tpl:BlogFeedID}}</id>
|
||||
<generator uri="https://www.dotclear.org/">Dotclear</generator>
|
||||
<tpl:Entries>
|
||||
<entry>
|
||||
<title>{{tpl:EntryTitle encode_xml="1"}}</title>
|
||||
<link href="{{tpl:EntryURL}}" rel="alternate" type="text/html" title="{{tpl:EntryTitle encode_xml=" 1 "}}" />
|
||||
<id>{{tpl:EntryFeedID}}</id>
|
||||
<published>{{tpl:EntryDate iso8601="1"}}</published>
|
||||
<tpl:EntryIf republished="1">
|
||||
<updated>{{tpl:EntryDate iso8601="1" upddt="1"}}</updated>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryIf republished="0">
|
||||
<updated>{{tpl:EntryDate iso8601="1"}}</updated>
|
||||
</tpl:EntryIf>
|
||||
<author>
|
||||
<name>{{tpl:EntryAuthorCommonName encode_xml="1"}}</name>
|
||||
</author>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<dc:subject>{{tpl:EntryCategory encode_html="1"}}</dc:subject>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryTags>
|
||||
<dc:subject>{{tpl:TagID}}</dc:subject>
|
||||
</tpl:EntryTags>
|
||||
<content type="html">{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</content>
|
||||
<tpl:Attachments>
|
||||
<link rel="enclosure" href="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" />
|
||||
</tpl:Attachments>
|
||||
<tpl:EntryIf comments_active="1">
|
||||
<wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment>
|
||||
<wfw:commentRss>{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}</wfw:commentRss>
|
||||
</tpl:EntryIf>
|
||||
</entry>
|
||||
</tpl:Entries>
|
||||
</feed>
|
||||
@ -0,0 +1,89 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-entry">
|
||||
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" />
|
||||
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
|
||||
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
|
||||
<tpl:Entries no_content="1">
|
||||
<tpl:EntriesHeader>
|
||||
<tpl:Pagination>
|
||||
<tpl:PaginationIf end="0">
|
||||
<link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
|
||||
<tpl:PaginationIf start="0">
|
||||
<link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
</tpl:Pagination>
|
||||
</tpl:EntriesHeader>
|
||||
|
||||
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
|
||||
</tpl:Entries>
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-category"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<header id="content-info">
|
||||
<h2>
|
||||
<tpl:CategoryParents>
|
||||
<a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> ›
|
||||
</tpl:CategoryParents>
|
||||
{{tpl:CategoryTitle encode_html="1"}}
|
||||
</h2>
|
||||
|
||||
<tpl:CategoryIf has_entries="1">
|
||||
<ul class="content-info__feed">
|
||||
<li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
|
||||
title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li>
|
||||
|
||||
<tpl:SysIf operator="or" comments_active="1" pings_active="1">
|
||||
<li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
|
||||
title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></li>
|
||||
</tpl:SysIf>
|
||||
</ul>
|
||||
</tpl:CategoryIf>
|
||||
|
||||
<div class="content-info__cat-desc">
|
||||
{{tpl:CategoryDescription}}
|
||||
</div>
|
||||
|
||||
|
||||
<tpl:CategoryFirstChildren>
|
||||
<tpl:CategoriesHeader>
|
||||
<div id="subcategories" class="content-info__sub-cat">
|
||||
<h3>{{tpl:lang Subcategories}}</h3>
|
||||
<ul>
|
||||
</tpl:CategoriesHeader>
|
||||
<li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
|
||||
<tpl:CategoriesFooter>
|
||||
</ul>
|
||||
</div>
|
||||
</tpl:CategoriesFooter>
|
||||
</tpl:CategoryFirstChildren>
|
||||
</header> <!-- # End #content-info -->
|
||||
|
||||
<div class="content-inner">
|
||||
<tpl:Entries>
|
||||
{{tpl:include src="_entry-short.html"}}
|
||||
|
||||
<tpl:EntriesFooter>
|
||||
{{tpl:include src="_pagination.html"}}
|
||||
</tpl:EntriesFooter>
|
||||
</tpl:Entries>
|
||||
</div> <!-- # End #content-inner -->
|
||||
</tpl:Block>
|
||||
@ -0,0 +1 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{tpl:BlogLanguage}}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="ROBOTS" content="NOARCHIVE,NOINDEX,NOFOLLOW" />
|
||||
<title>{{tpl:lang Password needed}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
font: 0.8em Verdana, Arial, Geneva, sans-serif;
|
||||
}
|
||||
|
||||
form {
|
||||
display: block;
|
||||
width: 500px;
|
||||
margin: 0 auto;
|
||||
padding: 1em;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font: 140% Arial, Helvetica, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input {
|
||||
border-width: 1px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form action="{{tpl:EntryURL}}" method="post" role="form">
|
||||
<h2>{{tpl:lang Password needed}}</h2>
|
||||
<p>{{tpl:lang You must give a password to access this area.}}</p>
|
||||
<p>
|
||||
<label>{{tpl:lang Password:}}
|
||||
<input type="password" name="password" value="" />
|
||||
</label>
|
||||
<input type="submit" value="ok" title="{{tpl:lang Access to content}}" />
|
||||
</p>
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
52
dotclear._no/inc/public/default-templates/dotty/post.html
Normal file
52
dotclear._no/inc/public/default-templates/dotty/post.html
Normal file
@ -0,0 +1,52 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-entry">
|
||||
<meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
|
||||
<meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
|
||||
<meta name="date" content="{{tpl:EntryDate iso8601="1"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
|
||||
<tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf>
|
||||
<tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext>
|
||||
<tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious>
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="html-head">
|
||||
{{tpl:parent}}
|
||||
|
||||
<script type="application/json" id="dc_post_remember_str-data">
|
||||
{"post_remember_str": "{{tpl:lang Remember me on this blog}}"}
|
||||
</script>
|
||||
<script src="{{tpl:BlogQmarkURL}}pf=util.js"></script>
|
||||
<script src="{{tpl:BlogQmarkURL}}pf=post.js"></script>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-post"></tpl:Block>
|
||||
|
||||
<tpl:Block name="page-top">
|
||||
{{tpl:EntryPingData}}
|
||||
{{tpl:parent}}
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<nav class="navlinks topnl" role="navigation" aria-label="{{tpl:lang Entries}}">
|
||||
<tpl:EntryPrevious><a href="{{tpl:EntryURL}}" class="prev"><span aria-hidden="true">« </span><span class="sr">{{tpl:lang Previous entry:}} </span>{{tpl:EntryTitle encode_html="1"
|
||||
cut_string="50"}}</a></tpl:EntryPrevious>
|
||||
<tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}" class="next"><span class="sr">{{tpl:lang Next entry:}} </span>{{tpl:EntryTitle encode_html="1" cut_string="50"}}<span aria-hidden="true"> »</span></a></tpl:EntryNext>
|
||||
</nav>
|
||||
|
||||
{{tpl:include src="_simple-entry.html"}}
|
||||
|
||||
<nav class="navlinks" role="navigation" aria-label="{{tpl:lang Entries}}">
|
||||
<tpl:EntryPrevious><a href="{{tpl:EntryURL}}" class="prev"><span aria-hidden="true">« </span><span class="sr">{{tpl:lang Previous entry:}} </span>{{tpl:EntryTitle encode_html="1"
|
||||
cut_string="50"}}</a></tpl:EntryPrevious>
|
||||
<tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}" class="next"><span class="sr">{{tpl:lang Next entry:}} </span>{{tpl:EntryTitle encode_html="1" cut_string="50"}}<span aria-hidden="true"> »</span></a></tpl:EntryNext>
|
||||
</nav>
|
||||
</tpl:Block>
|
||||
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?>
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}} - {{tpl:lang Comments}}</title>
|
||||
<link>{{tpl:BlogURL}}</link>
|
||||
<atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" />
|
||||
<description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description>
|
||||
<language>{{tpl:BlogLanguage}}</language>
|
||||
<pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate>
|
||||
<copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright>
|
||||
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
||||
<generator>Dotclear</generator>
|
||||
<tpl:Comments order="desc" with_pings="1">
|
||||
<tpl:CommentIf is_ping="1">
|
||||
<item>
|
||||
<title>[ping] {{tpl:PingEntryTitle encode_xml="1"}} - {{tpl:PingBlogName encode_xml="1"}}</title>
|
||||
<link>{{tpl:PingPostURL encode_xml="1"}}#c{{tpl:PingID}}</link>
|
||||
<guid isPermaLink="false">{{tpl:PingFeedID}}</guid>
|
||||
<pubDate>{{tpl:PingDate rfc822="1"}}</pubDate>
|
||||
<dc:creator>{{tpl:PingBlogName encode_xml="1"}}</dc:creator>
|
||||
<description><p><a href="{{tpl:PingAuthorURL encode_xml="1"}}">{{tpl:PingTitle encode_xml="1"}}</a></p> {{tpl:PingContent encode_xml="1"}}</description>
|
||||
</item>
|
||||
</tpl:CommentIf>
|
||||
<tpl:CommentIf is_ping="0">
|
||||
<item>
|
||||
<title>{{tpl:CommentEntryTitle encode_xml="1"}} - {{tpl:CommentAuthor encode_xml="1"}}</title>
|
||||
<link>{{tpl:CommentPostURL encode_xml="1"}}#c{{tpl:CommentID}}</link>
|
||||
<guid isPermaLink="false">{{tpl:CommentFeedID}}</guid>
|
||||
<pubDate>{{tpl:CommentDate rfc822="1"}}</pubDate>
|
||||
<dc:creator>{{tpl:CommentAuthor encode_xml="1"}}</dc:creator>
|
||||
<description>{{tpl:CommentContent absolute_urls="1" encode_xml="1"}}</description>
|
||||
</item>
|
||||
</tpl:CommentIf>
|
||||
</tpl:Comments>
|
||||
</channel>
|
||||
</rss>
|
||||
39
dotclear._no/inc/public/default-templates/dotty/rss2.xml
Normal file
39
dotclear._no/inc/public/default-templates/dotty/rss2.xml
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet title="XSL formatting" type="text/xsl" href="{{tpl:BlogURL}}feed/rss2/xslt" ?>
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{tpl:BlogName encode_xml="1"}}{{tpl:SysFeedSubtitle encode_xml="1"}}</title>
|
||||
<link>{{tpl:BlogURL}}</link>
|
||||
<atom:link href="{{tpl:SysSelfURI}}" rel="self" type="application/rss+xml" />
|
||||
<description>{{tpl:BlogDescription remove_html="1" encode_xml="1"}}</description>
|
||||
<language>{{tpl:BlogLanguage}}</language>
|
||||
<pubDate>{{tpl:BlogUpdateDate rfc822="1"}}</pubDate>
|
||||
<copyright>{{tpl:BlogCopyrightNotice encode_xml="1"}}</copyright>
|
||||
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
||||
<generator>Dotclear</generator>
|
||||
<tpl:Entries>
|
||||
<item>
|
||||
<title>{{tpl:EntryTitle encode_xml="1"}}</title>
|
||||
<link>{{tpl:EntryURL}}</link>
|
||||
<guid isPermaLink="false">{{tpl:EntryFeedID}}</guid>
|
||||
<pubDate>{{tpl:EntryDate rfc822="1"}}</pubDate>
|
||||
<dc:creator>{{tpl:EntryAuthorCommonName encode_xml="1"}}</dc:creator>
|
||||
<tpl:EntryIf has_category="1">
|
||||
<category>{{tpl:EntryCategory encode_html="1"}}</category>
|
||||
</tpl:EntryIf>
|
||||
<tpl:EntryTags>
|
||||
<category>{{tpl:TagID}}</category>
|
||||
</tpl:EntryTags>
|
||||
<description>{{tpl:EntryExcerpt absolute_urls="1" encode_xml="1"}} {{tpl:EntryContent absolute_urls="1" encode_xml="1"}}</description>
|
||||
<tpl:Attachments>
|
||||
<enclosure url="{{tpl:AttachmentURL}}" length="{{tpl:AttachmentSize full=" 1 "}}" type="{{tpl:AttachmentMimeType}}" />
|
||||
</tpl:Attachments>
|
||||
<tpl:EntryIf comments_active="1">
|
||||
<comments>{{tpl:EntryURL}}#comment-form</comments>
|
||||
<wfw:comment>{{tpl:EntryURL}}#comment-form</wfw:comment>
|
||||
<wfw:commentRss>{{tpl:BlogFeedURL}}/comments/{{tpl:EntryID}}</wfw:commentRss>
|
||||
</tpl:EntryIf>
|
||||
</item>
|
||||
</tpl:Entries>
|
||||
</channel>
|
||||
</rss>
|
||||
120
dotclear._no/inc/public/default-templates/dotty/rss2.xsl
Normal file
120
dotclear._no/inc/public/default-templates/dotty/rss2.xsl
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<xsl:output method="html"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<html>
|
||||
<head>
|
||||
<title>{{tpl:lang Subscribe to}} <xsl:value-of select="/rss/channel/title"/></title>
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
body {
|
||||
font: 80% Verdana,Arial,sans-serif;
|
||||
margin: 20px 0;
|
||||
padding: 0 0;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
a { color: #039; }
|
||||
h1, h2 { font-family: Arial,sans-serif; }
|
||||
h1 { font-size: 160%; margin: 0; }
|
||||
h2 { font-size: 140%; font-weight: bold; margin: 0.5em 0 0.2em 0; }
|
||||
h2 a { text-decoration: none; }
|
||||
p { margin: 0 0 0.5em 0; }
|
||||
#page {
|
||||
margin: 0 80px;
|
||||
}
|
||||
#top {
|
||||
background: #036;
|
||||
padding : 1em;
|
||||
color: #fff;
|
||||
}
|
||||
#top a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
#what {
|
||||
padding: 1em;
|
||||
background: #eee;
|
||||
border-bottom: 1px solid #000;
|
||||
font-size: 80%;
|
||||
}
|
||||
#what p {
|
||||
margin: 0 0 0.5em 0;
|
||||
}
|
||||
#footer {
|
||||
border-top: 1px solid #000;
|
||||
}
|
||||
#items {
|
||||
background: #fff;
|
||||
color: inherit;
|
||||
}
|
||||
#items div {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
]]>
|
||||
</style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
window.onload = function() {
|
||||
document.getElementById('feedurl').value = window.location.href;
|
||||
|
||||
// Ugly but works ;)
|
||||
var c = document.getElementsByTagName('div');
|
||||
var t = '';
|
||||
for (var i=0; c.length-i != 0; i++) {
|
||||
if (c[i].className == 'item-content') {
|
||||
if (c[i].textContent) {
|
||||
t = c[i].textContent;
|
||||
} else if (c[i].innerText) {
|
||||
t = c[i].innerText;
|
||||
} else {
|
||||
t = '';
|
||||
}
|
||||
|
||||
if (t) { c[i].innerHTML = t; }
|
||||
}
|
||||
}
|
||||
};
|
||||
]]></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
<div id="top">
|
||||
<h1><a href="{/rss/channel/link}"><xsl:value-of select="/rss/channel/title"/></a></h1>
|
||||
<p><xsl:value-of select="/rss/channel/description"/></p>
|
||||
</div>
|
||||
<div id="what">
|
||||
<h3>{{tpl:lang What is an RSS feed?}}</h3>
|
||||
<p>{{tpl:lang RSS feed is a free blog summary. It provides content
|
||||
(either posts or comments) or summaries of content, together with links
|
||||
to the full versions, and other metadata. The last published items may
|
||||
then be read by your favorite RSS
|
||||
<a href="http://en.wikipedia.org/wiki/Aggregator">aggregator</a>.}}</p>
|
||||
<h3>{{tpl:lang Subscribe}}</h3>
|
||||
<p>{{tpl:lang Simply copy the following URL into your aggregator:}}</p>
|
||||
<p><input type="text" size="60" value="" id="feedurl" /></p>
|
||||
</div>
|
||||
<div id="items">
|
||||
<xsl:apply-templates select="//item"/>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<p><xsl:value-of select="/rss/channel/copyright"/></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Item template -->
|
||||
<xsl:template match="item">
|
||||
<div>
|
||||
<h2><a href="{link}"><xsl:value-of select="title"/></a></h2>
|
||||
<div class="item-content"><xsl:value-of select="description" /></div>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
65
dotclear._no/inc/public/default-templates/dotty/search.html
Normal file
65
dotclear._no/inc/public/default-templates/dotty/search.html
Normal file
@ -0,0 +1,65 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-robots">
|
||||
<meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
|
||||
<tpl:Entries no_content="1">
|
||||
<tpl:EntriesHeader>
|
||||
<tpl:Pagination>
|
||||
<tpl:PaginationIf end="0">
|
||||
<link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
<tpl:PaginationIf start="0">
|
||||
<link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
|
||||
</tpl:PaginationIf>
|
||||
</tpl:Pagination>
|
||||
</tpl:EntriesHeader>
|
||||
<link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
|
||||
</tpl:Entries>
|
||||
<link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-search"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<header id="content-info">
|
||||
<h2>{{tpl:lang Search}}</h2>
|
||||
<tpl:SysIf search_count="==0">
|
||||
<p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
|
||||
</tpl:SysIf>
|
||||
<tpl:SysIf search_count="==1">
|
||||
<p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
|
||||
</tpl:SysIf>
|
||||
<tpl:SysIf search_count=">1">
|
||||
<p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
|
||||
</tpl:SysIf>
|
||||
</header>
|
||||
|
||||
<div class="content-inner">
|
||||
<tpl:Entries>
|
||||
|
||||
{{tpl:include src="_entry-short.html"}}
|
||||
|
||||
<tpl:EntriesFooter>
|
||||
<tpl:Pagination>
|
||||
<p class="pagination">
|
||||
<tpl:PaginationIf end="0">
|
||||
<a href="{{tpl:PaginationURL offset="+1"}}" class="prev">« {{tpl:lang previous entries}}</a> -
|
||||
</tpl:PaginationIf>
|
||||
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
|
||||
<tpl:PaginationIf start="0">
|
||||
- <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} »</a>
|
||||
</tpl:PaginationIf>
|
||||
</p>
|
||||
</tpl:Pagination>
|
||||
</tpl:EntriesFooter>
|
||||
</tpl:Entries>
|
||||
</div> <!-- # End #content-inner -->
|
||||
</tpl:Block>
|
||||
41
dotclear._no/inc/public/default-templates/dotty/static.html
Normal file
41
dotclear._no/inc/public/default-templates/dotty/static.html
Normal file
@ -0,0 +1,41 @@
|
||||
{{tpl:extends parent="__layout.html"}}
|
||||
|
||||
<tpl:Block name="head-title">
|
||||
<title>{{tpl:BlogName encode_html="1"}}</title>
|
||||
</tpl:Block>
|
||||
|
||||
<tpl:Block name="meta-entry">
|
||||
<meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}" />
|
||||
<meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
|
||||
<meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
|
||||
</tpl:Block> <!-- # meta-entry -->
|
||||
|
||||
<tpl:Block name="head-linkrel">
|
||||
<link rel="contents" title="{{tpl:lang Entries}}" href="{{tpl:BlogPostsURL}}" />
|
||||
<link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
|
||||
<tpl:Categories>
|
||||
<link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
|
||||
</tpl:Categories>
|
||||
|
||||
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
|
||||
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
|
||||
<link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
|
||||
</tpl:Block> <!-- # head-linkrel -->
|
||||
|
||||
<tpl:Block name="body-tag"><body class="dc-home dc-home-static"></tpl:Block>
|
||||
|
||||
<tpl:Block name="main-content">
|
||||
<tpl:IfBlogStaticEntryURL>
|
||||
{{tpl:BlogStaticEntryURL}}
|
||||
<tpl:Entries>
|
||||
<div class="content-inner">{{tpl:EntryExcerpt}}{{tpl:EntryContent}}</div>
|
||||
</tpl:Entries>
|
||||
{{tpl:else}}
|
||||
<header id="content-info">
|
||||
<h2>{{tpl:lang Welcome}}</h2>
|
||||
</header>
|
||||
<div class="content-inner">
|
||||
<p>{{tpl:lang The list of recents posts is available}} <a href="{{tpl:BlogPostsURL}}">{{tpl:lang here}}</a>.</p>
|
||||
</div>
|
||||
</tpl:IfBlogStaticEntryURL>
|
||||
</tpl:Block>
|
||||
@ -0,0 +1 @@
|
||||
<!-- # This template is included at the end of _head.html template -->
|
||||
Reference in New Issue
Block a user