aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-11 03:50:36 +0200
committerThomas Lange <code@nerdmind.de>2017-04-11 03:50:36 +0200
commit7850914276a90680fbb10404196132c8a843fa89 (patch)
treec285922860d1154af6ccdbd3c8cdf3a412dc3798
parent8615695162fa67b02cbbc2acf46baefb752813ac (diff)
downloadblog-7850914276a90680fbb10404196132c8a843fa89.tar.gz
blog-7850914276a90680fbb10404196132c8a843fa89.tar.xz
blog-7850914276a90680fbb10404196132c8a843fa89.zip
HTML5 <article> tags has been replaced by the more semantic correct <blockquote> tags with "cite" attribute.
-rw-r--r--template/standard/html/page/item.php4
-rw-r--r--template/standard/html/post/item.php4
-rw-r--r--template/standard/html/user/item.php4
-rw-r--r--template/standard/rsrc/main.css4
4 files changed, 8 insertions, 8 deletions
diff --git a/template/standard/html/page/item.php b/template/standard/html/page/item.php
index b3b4ebf..d0058e7 100644
--- a/template/standard/html/page/item.php
+++ b/template/standard/html/page/item.php
@@ -14,7 +14,7 @@
<time class="brackets info" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
</h2>
</header>
- <article>
+ <blockquote cite="<?=$PAGE['URL']?>">
<p><?=excerpt($PAGE['BODY']['HTML'], 600)?></p>
- </article>
+ </blockquote>
</li> \ No newline at end of file
diff --git a/template/standard/html/post/item.php b/template/standard/html/post/item.php
index b02a018..f0c12d5 100644
--- a/template/standard/html/post/item.php
+++ b/template/standard/html/post/item.php
@@ -14,7 +14,7 @@
<time class="brackets info" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
</h2>
</header>
- <article>
+ <blockquote cite="<?=$POST['URL']?>">
<?=$POST['BODY']['HTML']?>
- </article>
+ </blockquote>
</li> \ No newline at end of file
diff --git a/template/standard/html/user/item.php b/template/standard/html/user/item.php
index 48a3e3e..65dce5b 100644
--- a/template/standard/html/user/item.php
+++ b/template/standard/html/user/item.php
@@ -14,7 +14,7 @@
<span class="info brackets"><?=escapeHTML($USER['ATTR']['USERNAME'])?></span>
</h2>
</header>
- <article>
+ <blockquote cite="<?=$USER['URL']?>">
<?=$USER['BODY']['HTML']?>
- </article>
+ </blockquote>
</li> \ No newline at end of file
diff --git a/template/standard/rsrc/main.css b/template/standard/rsrc/main.css
index 44547ec..ed50b9b 100644
--- a/template/standard/rsrc/main.css
+++ b/template/standard/rsrc/main.css
@@ -104,8 +104,8 @@ a.brackets:before,a.brackets:after{color:#222;}
.item-list-li > header h2{border:none !important;font-size:inherit;text-transform:uppercase;}
.item-list-li > header h2 .info{float:right;font-size:0.7rem;font-weight:400;}
.item-list-li > header a{color:inherit;}
-.item-list-li > article{padding:0 1rem;}
-.item-list-li > article img{display:block;}
+.item-list-li > blockquote{margin:0;padding:0 1rem;font-family:inherit;}
+.item-list-li > blockquote img{display:block;}
.item-list-li.page{}
.item-list-li.post{}
.item-list-li.user{}