mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +05:30
Update theme
This commit is contained in:
parent
6745806b41
commit
cc91b4478f
9 changed files with 18 additions and 14 deletions
|
|
@ -12,7 +12,7 @@ Features
|
||||||
---------
|
---------
|
||||||
- Admin Panel
|
- Admin Panel
|
||||||
- Markdown editor with live preview and image upload
|
- Markdown editor with live preview and image upload
|
||||||
- Categorization with tags (multiple tagging support)
|
- Categorization with category and tags (multiple tagging support)
|
||||||
- Static Pages (e.g. Contact Page, About Page)
|
- Static Pages (e.g. Contact Page, About Page)
|
||||||
- Meta canonical, description, and rich snippets for SEO
|
- Meta canonical, description, and rich snippets for SEO
|
||||||
- Pagination
|
- Pagination
|
||||||
|
|
@ -144,7 +144,7 @@ This will produce a hash which is to be placed in the `password` field in `usern
|
||||||
|
|
||||||
Both Online or Offline
|
Both Online or Offline
|
||||||
----------------------
|
----------------------
|
||||||
The built-in editor found in the admin panel, also provides you the ability to write to Markdown files offline by uploading them (see naming convention below) into the `content/username/blog` folder (the `username` must match `YourUsername.ini` above).
|
The built-in editor found in the admin panel, also provides you the ability to write to Markdown files offline by uploading them (see naming convention below) into the `content/username/blog/category/type/` folder (the `username` must match `YourUsername.ini` above).
|
||||||
|
|
||||||
For static pages you can upload it to the `content/static` folder.
|
For static pages you can upload it to the `content/static` folder.
|
||||||
|
|
||||||
|
|
@ -218,6 +218,7 @@ Contributors
|
||||||
- [BlackCodec](https://github.com/BlackCodec)
|
- [BlackCodec](https://github.com/BlackCodec)
|
||||||
- [mlncn](https://github.com/mlncn)
|
- [mlncn](https://github.com/mlncn)
|
||||||
- [Tea23](https://github.com/Tea23)
|
- [Tea23](https://github.com/Tea23)
|
||||||
|
- [greenphp](https://github.com/greenphp)
|
||||||
|
|
||||||
Copyright / License
|
Copyright / License
|
||||||
-------------------
|
-------------------
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@ Location: Natick, Massachusetts, USA
|
||||||
Contributor: Tea23
|
Contributor: Tea23
|
||||||
Github: https://github.com/Tea23
|
Github: https://github.com/Tea23
|
||||||
|
|
||||||
|
Contributor: greenphp
|
||||||
|
Github: https://github.com/greenphp
|
||||||
|
|
||||||
/* THANKS */
|
/* THANKS */
|
||||||
Name: Martin Angelov (http://tutorialzine.com)
|
Name: Martin Angelov (http://tutorialzine.com)
|
||||||
Name: Xiaoying Riley (http://themes.3rdwavemedia.com)
|
Name: Xiaoying Riley (http://themes.3rdwavemedia.com)
|
||||||
|
|
|
||||||
|
|
@ -575,7 +575,7 @@ function edit_link($title, $tag, $url, $content, $oldfile, $destination = null,
|
||||||
$tagmd = "";
|
$tagmd = "";
|
||||||
}
|
}
|
||||||
if ($link !== null) {
|
if ($link !== null) {
|
||||||
$post_link = "\n<!--link" . $post_link. " link-->";
|
$post_link = "\n<!--link " . $post_link. " link-->";
|
||||||
} else {
|
} else {
|
||||||
$post_link = "";
|
$post_link = "";
|
||||||
}
|
}
|
||||||
|
|
@ -730,7 +730,7 @@ function edit_quote($title, $tag, $url, $content, $oldfile, $destination = null,
|
||||||
$tagmd = "";
|
$tagmd = "";
|
||||||
}
|
}
|
||||||
if ($quote !== null) {
|
if ($quote !== null) {
|
||||||
$post_quote = "\n<!--quote" . $post_quote . " quote-->";
|
$post_quote = "\n<!--quote " . $post_quote . " quote-->";
|
||||||
} else {
|
} else {
|
||||||
$post_quote = "";
|
$post_quote = "";
|
||||||
}
|
}
|
||||||
|
|
@ -886,7 +886,7 @@ function edit_audio($title, $tag, $url, $content, $oldfile, $destination = null,
|
||||||
$tagmd = "";
|
$tagmd = "";
|
||||||
}
|
}
|
||||||
if ($audio !== null) {
|
if ($audio !== null) {
|
||||||
$post_audio = "\n<!--audio" . $post_audio . " audio-->";
|
$post_audio = "\n<!--audio " . $post_audio . " audio-->";
|
||||||
} else {
|
} else {
|
||||||
$post_audio = "";
|
$post_audio = "";
|
||||||
}
|
}
|
||||||
|
|
@ -1081,7 +1081,7 @@ function edit_category($title, $url, $content, $oldfile, $destination = null, $d
|
||||||
file_put_contents($newfile, print_r($post_content, true));
|
file_put_contents($newfile, print_r($post_content, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
rename_category_folder($post_url, $oldfile);
|
rename_category_folder($post_url, $oldfile);
|
||||||
|
|
||||||
rebuilt_cache('all');
|
rebuilt_cache('all');
|
||||||
if ($destination == 'post') {
|
if ($destination == 'post') {
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
||||||
<?php if (disqus_count()) { ?> -
|
<?php if (disqus_count()) { ?> -
|
||||||
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
||||||
- Posted in
|
- Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
||||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
||||||
<?php if (disqus_count()) { ?> -
|
<?php if (disqus_count()) { ?> -
|
||||||
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
||||||
- Posted in
|
- Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
||||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
<h2 class="title-index" itemprop="name"><a href="<?php echo $p->url ?>"><?php echo $p->title ?></a></h2>
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
<span itemprop="datePublished"><?php echo date('d F Y', $p->date) ?></span> - Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span>
|
||||||
<?php if (disqus_count()) { ?> -
|
<?php if (disqus_count()) { ?> -
|
||||||
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
<span><a href="<?php echo $p->url ?>#disqus_thread">Comments</a></span>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
<span itemprop="datePublished"><a href="<?php echo $p->archive ?>" title="Show all posts made on this month"><?php echo date('d F Y', $p->date) ?></a></span>
|
||||||
- Posted in
|
- Posted in
|
||||||
<span itemprop="articleSection"><?php echo $p->tag ?></span> by
|
<span itemprop="articleSection"><?php echo $p->category ?></span> by
|
||||||
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
<span itemprop="author"><a href="<?php echo $p->authorUrl ?>"><?php echo $p->author ?></a></span> -
|
||||||
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
<span><a href="<?php echo $p->url ?>" rel="permalink">Permalink</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue