+ {elseif $mode == 'save'}
+
+
+ {$updertHooks}
+ {if $res}
+
{$CONST.ERROR}: {$res}
+ {else}
+ {if $lastSavedEntry}
+
+ {/if}
+
{$CONST.ENTRY_SAVED}
+
{$CONST.VIEW}
+ {/if}
+ {/if}
+ {$preview}
+
+
+
+
diff --git a/templates/skeleton/sidebar.tpl b/templates/skeleton/sidebar.tpl
new file mode 100644
index 00000000..124226f7
--- /dev/null
+++ b/templates/skeleton/sidebar.tpl
@@ -0,0 +1,18 @@
+{if $is_raw_mode}
+
+{/if}
diff --git a/templates/skeleton/style.css b/templates/skeleton/style.css
new file mode 100644
index 00000000..7623fdbc
--- /dev/null
+++ b/templates/skeleton/style.css
@@ -0,0 +1,389 @@
+/*! normalize.css v3.0.2 | MIT License | git.io/normalize */img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}
+/* Skeleton V2.0.4, Copyright 2014, Dave Gamache, www.getskeleton.com
+ * Free to use under the MIT license, http://www.opensource.org/licenses/mit-license.php, 12/29/2014 */
+.column,.columns,.container,.u-full-width{width:100%;box-sizing:border-box}h1,h2,h3{letter-spacing:-.1rem}body,h6{line-height:1.6}.container{position:relative;max-width:960px;margin:0 auto;padding:0 20px}ol,p,ul{margin-top:0}.column,.columns{float:left}@media (min-width:400px){.container{width:85%;padding:0}}html{font-size:62.5%}body{font-size:1.5em;font-weight:400;font-family:Raleway,HelveticaNeue,"Helvetica Neue",Helvetica,Arial,sans-serif;color:#222}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:2rem;font-weight:300}h1{font-size:4rem;line-height:1.2}h2{font-size:3.6rem;line-height:1.25}h3{font-size:3rem;line-height:1.3}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;letter-spacing:0}@media (min-width:550px){.container{width:80%}.column,.columns{margin-left:4%}.column:first-child,.columns:first-child{margin-left:0}.one.column,.one.columns{width:4.66666666667%}.two.columns{width:13.3333333333%}.three.columns{width:22%}.four.columns{width:30.6666666667%}.five.columns{width:39.3333333333%}.six.columns{width:48%}.seven.columns{width:56.6666666667%}.eight.columns{width:65.3333333333%}.nine.columns{width:74%}.ten.columns{width:82.6666666667%}.eleven.columns{width:91.3333333333%}.twelve.columns{width:100%;margin-left:0}.one-third.column{width:30.6666666667%}.two-thirds.column{width:65.3333333333%}.one-half.column{width:48%}.offset-by-one.column,.offset-by-one.columns{margin-left:8.66666666667%}.offset-by-two.column,.offset-by-two.columns{margin-left:17.3333333333%}.offset-by-three.column,.offset-by-three.columns{margin-left:26%}.offset-by-four.column,.offset-by-four.columns{margin-left:34.6666666667%}.offset-by-five.column,.offset-by-five.columns{margin-left:43.3333333333%}.offset-by-six.column,.offset-by-six.columns{margin-left:52%}.offset-by-seven.column,.offset-by-seven.columns{margin-left:60.6666666667%}.offset-by-eight.column,.offset-by-eight.columns{margin-left:69.3333333333%}.offset-by-nine.column,.offset-by-nine.columns{margin-left:78%}.offset-by-ten.column,.offset-by-ten.columns{margin-left:86.6666666667%}.offset-by-eleven.column,.offset-by-eleven.columns{margin-left:95.3333333333%}.offset-by-one-third.column,.offset-by-one-third.columns{margin-left:34.6666666667%}.offset-by-two-thirds.column,.offset-by-two-thirds.columns{margin-left:69.3333333333%}.offset-by-one-half.column,.offset-by-one-half.columns{margin-left:52%}h1{font-size:5rem}h2{font-size:4.2rem}h3{font-size:3.6rem}h4{font-size:3rem}h5{font-size:2.4rem}h6{font-size:1.5rem}}a{color:#1EAEDB}a:hover{color:#0FA0CE}.button,button,input[type=submit],input[type=reset],input[type=button]{display:inline-block;height:38px;padding:0 30px;color:#555;text-align:center;font-size:11px;font-weight:600;line-height:38px;letter-spacing:.1rem;text-transform:uppercase;text-decoration:none;white-space:nowrap;background-color:transparent;border-radius:4px;border:1px solid #bbb;cursor:pointer;box-sizing:border-box}.button:focus,.button:hover,button:focus,button:hover,input[type=submit]:focus,input[type=submit]:hover,input[type=reset]:focus,input[type=reset]:hover,input[type=button]:focus,input[type=button]:hover{color:#333;border-color:#888;outline:0}.button.button-primary,button.button-primary,input[type=submit].button-primary,input[type=reset].button-primary,input[type=button].button-primary{color:#FFF;background-color:#33C3F0;border-color:#33C3F0}.button.button-primary:focus,.button.button-primary:hover,button.button-primary:focus,button.button-primary:hover,input[type=submit].button-primary:focus,input[type=submit].button-primary:hover,input[type=reset].button-primary:focus,input[type=reset].button-primary:hover,input[type=button].button-primary:focus,input[type=button].button-primary:hover{color:#FFF;background-color:#1EAEDB;border-color:#1EAEDB}input[type=tel],input[type=url],input[type=password],input[type=email],input[type=number],input[type=search],input[type=text],select,textarea{height:38px;padding:6px 10px;background-color:#fff;border:1px solid #D1D1D1;border-radius:4px;box-shadow:none;box-sizing:border-box}input[type=tel],input[type=url],input[type=password],input[type=email],input[type=number],input[type=search],input[type=text],textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none}textarea{min-height:65px;padding-top:6px;padding-bottom:6px}input[type=tel]:focus,input[type=url]:focus,input[type=password]:focus,input[type=email]:focus,input[type=number]:focus,input[type=search]:focus,input[type=text]:focus,select:focus,textarea:focus{border:1px solid #33C3F0;outline:0}label,legend{display:block;margin-bottom:.5rem;font-weight:600}fieldset{padding:0;border-width:0}input[type=checkbox],input[type=radio]{display:inline}label>.label-body{display:inline-block;margin-left:.5rem;font-weight:400}ul{list-style:circle inside}ol{list-style:decimal inside}ol,ul{padding-left:0}ol ol,ol ul,ul ol,ul ul{margin:1.5rem 0 1.5rem 3rem;font-size:90%}.button,button,li{margin-bottom:1rem}code{padding:.2rem .5rem;margin:0 .2rem;font-size:90%;white-space:nowrap;background:#F1F1F1;border:1px solid #E1E1E1;border-radius:4px}pre>code{display:block;padding:1rem 1.5rem;white-space:pre}td,th{padding:12px 15px;text-align:left;border-bottom:1px solid #E1E1E1}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}fieldset,input,select,textarea{margin-bottom:1.5rem}blockquote,dl,figure,form,ol,p,pre,table,ul{margin-bottom:2.5rem}.u-max-full-width{max-width:100%;box-sizing:border-box}.u-pull-right{float:right}.u-pull-left{float:left}hr{margin-top:3rem;margin-bottom:3.5rem;border-width:0;border-top:1px solid #E1E1E1}.container:after,.row:after,.u-cf{content:"";display:table;clear:both}
+
+/* THEME-/S9Y-SPECIFIC STYLES */
+/* -------------------------- */
+audio,
+canvas,
+iframe,
+img,
+svg,
+video {
+ vertical-align: middle;
+}
+
+.clearfix:before,
+.clearfix:after {
+ content: ' ';
+ display: table;
+}
+
+.clearfix:after {
+ clear: both;
+}
+
+/* Links */
+a {
+ cursor: pointer;
+}
+
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a {
+ text-decoration: none;
+}
+
+/* Header */
+.page_header {
+ padding-top: 2.5rem;
+}
+
+/* Navigation */
+.primary-nav {
+ background: #1eaedb;
+ color: #fff;
+ margin-bottom: 2.5rem;
+}
+
+.primary-nav ul {
+ margin: 0;
+ padding: 1rem 0 0;
+}
+
+.primary-nav a,
+.primary-nav span {
+ display: block;
+ padding: 0;
+ text-decoration: none;
+}
+
+.primary-nav a,
+.primary-nav a:visited {
+ background-color: #1eaedb;
+ color: #fff;
+}
+
+.primary-nav a:hover,
+.primary-nav a:focus {
+ background-color: #0fa0ce;
+ color: #fff;
+}
+
+/* Posts */
+.post,
+.post_footer {
+ margin-bottom: 2.5rem;
+}
+
+.post:last-of-type {
+ margin-bottom: 0;
+}
+
+.post table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ width: 100%;
+}
+
+.post_meta {
+ margin-top: 1.5rem;
+ margin-bottom: 1.5rem;
+}
+
+.pager {
+ margin-bottom: 2.5rem;
+ width: 100%;
+}
+
+.pager > p {
+ margin: 0;
+ text-align: center;
+}
+
+/* Images */
+.post img,
+.page img,
+video,
+.serendipity_imageComment_center,
+.serendipity_imageComment_left,
+.serendipity_imageComment_right {
+ height: auto;
+ max-width: 100%;
+}
+
+.serendipity_image_left,
+.serendipity_image_center,
+.serendipity_image_right,
+.serendipity_imageComment_center,
+.serendipity_imageComment_left,
+.serendipity_imageComment_right {
+ background: inherit;
+ border: 0;
+ padding: 0;
+}
+
+.serendipity_image_left,
+.serendipity_image_right,
+.serendipity_image_center {
+ border: 1px solid #aaa;
+}
+
+.serendipity_image_left,
+.serendipity_imageComment_left {
+ display: block;
+ float: none;
+ margin: 1rem 0;
+}
+
+.serendipity_image_center,
+.serendipity_imageComment_center {
+ display: block;
+ margin: 1rem auto;
+}
+
+.serendipity_image_right,
+.serendipity_imageComment_right {
+ display: block;
+ float: none;
+ margin: 1rem 0;
+}
+
+.serendipity_imageComment_center,
+.serendipity_imageComment_left,
+.serendipity_imageComment_right,
+.serendipity_imageComment_img,
+.serendipity_imageComment_img img {
+ text-align: center;
+}
+
+.serendipity_imageComment_img,
+.serendipity_imageComment_img img {
+ margin: 0;
+ padding: 0;
+}
+
+.serendipity_imageComment_txt {
+ border-top: 0;
+ color: #888;
+ margin: 0;
+ padding: .5rem 0 0;
+ clear: both;
+ font-size: 1.3rem;
+ text-align: center;
+}
+
+/* Sidebar */
+.sidebar_widget {
+ margin-bottom: 2.5rem;
+}
+
+.sidebar_search label {
+ font-weight: 300;
+}
+
+.serendipity_xml_icon > img {
+ vertical-align: middle;
+}
+
+/* Archives */
+.archive_date {
+ display: inline-block;
+ min-width: 10rem;
+}
+
+.archive_byline {
+ display: block;
+ margin-bottom: .5rem;
+}
+
+/* Tags */
+.serendipity_freetag_taglist {
+ margin-bottom: 2.5rem;
+}
+
+.serendipity_freetag_taglist_related {
+ font-size: 3rem;
+ font-weight: 300;
+ letter-spacing: -.1rem;
+ line-height: 1.3;
+ margin-top: 0;
+ margin-bottom: 2rem;
+}
+
+.serendipity_freeTag {
+ font-size: 100%;
+ margin: 1.5rem 0;
+ text-align: left;
+}
+
+/* Messages */
+.serendipity_msg_important,
+.serendipity_msg_notice {
+ border: 1px solid;
+ border-radius: 4px;
+ box-sizing: border-box;
+ margin: .4rem 0;
+ padding: .4rem;
+ text-align: center;
+}
+
+.serendipity_msg_important {
+ border-color: #ff4136;
+ color: #ff4136;
+}
+
+.serendipity_msg_notice {
+ border-color: #2ecc40;
+ color: #2ecc40;
+}
+
+/* Comments + trackbacks */
+#trackbacks,
+#comments {
+ margin-bottom: 2.5rem;
+}
+
+.comment {
+ margin-bottom: 2.5rem;
+}
+
+.comments_view {
+ margin-bottom: 1.5rem;
+}
+
+.comment_avatar {
+ border: 1px solid #aaa;
+ border-radius: 4px;
+ float: left;
+ margin: 0 1rem 1rem 0;
+ overflow: hidden;
+ padding: 0 !important;
+}
+
+.avatar_left {
+ float: left;
+ margin: 0 1rem 1rem 0;
+}
+
+.avatar_right {
+ float: right;
+ margin: 0 0 1rem 1rem;
+}
+
+/* Comment form */
+#serendipity_replyTo {
+ box-sizing: border-box;
+ width: 100%;
+}
+
+textarea {
+ min-height: 10rem;
+ resize: vertical;
+}
+
+.serendipity_commentDirection {
+ margin: 0 0 .5rem;
+}
+
+/* Footer */
+.page-footer {
+ background: #1eaedb;
+ color: #fff;
+ padding-top: 2.5rem;
+ text-align: center;
+}
+
+.page-footer a,
+.page-footer a:visited {
+ color: #fff;
+ text-decoration: underline;
+}
+
+.page-footer a:hover,
+.page-footer a:focus {
+ text-decoration: none;
+}
+
+/* MEDIA QUERIES */
+/* Larger than mobile */
+@media (min-width: 400px) {}
+
+/* Larger than phablet (also point when grid becomes active) */
+@media (min-width: 550px) {
+ .primary-nav ul {
+ padding: 0;
+ position: relative;
+ left: -1.5rem;
+ }
+
+ .primary-nav li {
+ display: inline-block;
+ margin: 0;
+ }
+
+ .primary-nav li:last-child {
+ margin: 0;
+ }
+
+ .primary-nav a,
+ .primary-nav span {
+ padding: 1rem 1.5rem;
+ }
+
+ .primary-nav span {
+ background-color: #0fa0ce;
+ }
+
+ .serendipity_freetag_taglist_related {
+ font-size: 3.6rem;
+ }
+
+ .page-footer {
+ text-align: left;
+ }
+}
+
+/* Larger than tablet */
+@media (min-width: 750px) {
+ .commentlevel_1 { margin-left: 1.5rem; }
+ .commentlevel_2 { margin-left: 3rem; }
+ .commentlevel_3 { margin-left: 4.5rem; }
+ .commentlevel_4 { margin-left: 6rem; }
+ .commentlevel_5 { margin-left: 7.5rem; }
+ .commentlevel_6 { margin-left: 9rem; }
+ .commentlevel_7 { margin-left: 10.5rem; }
+ .commentlevel_8 { margin-left: 12rem; }
+ .commentlevel_9 { margin-left: 13.5rem; }
+
+ .serendipity_image_left,
+ .serendipity_imageComment_left {
+ float: left;
+ margin: .5rem 2rem .5rem 0;
+ }
+
+ .serendipity_image_right,
+ .serendipity_imageComment_right {
+ float: right;
+ margin: .5rem 0 .5rem 2rem;
+ }
+
+ .archive_year {
+ float: left;
+ width: 50%;
+ }
+
+ .archive_year:nth-child(even) {
+ clear: left;
+ }
+}
+
+/* Larger than desktop */
+@media (min-width: 1000px) {}
+
+/* Larger than Desktop HD */
+@media (min-width: 1200px) {}
diff --git a/templates/skeleton/trackbacks.tpl b/templates/skeleton/trackbacks.tpl
new file mode 100644
index 00000000..17402cba
--- /dev/null
+++ b/templates/skeleton/trackbacks.tpl
@@ -0,0 +1,10 @@
+{if $entry.trackbacks > 0}
+
+ {foreach from=$trackbacks item=trackback}
+ -
+ {$trackback.title}
+
+
+ {/foreach}
+
+{/if}
{$CONST.COMMENTS}
+ +