Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Nov 20, 2024
1 parent 95c37af commit d2fe54d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cache/installedVersion.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"tag_name": "v3.0.1"
"tag_name": "v3.0.2"
}
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
define('HTMLY', true);
define('HTMLY_VERSION', 'v3.0.1');
define('HTMLY_VERSION', 'v3.0.2');
$config_file = 'config/config.ini';
require 'system/vendor/autoload.php';
require 'system/htmly.php';
2 changes: 1 addition & 1 deletion system/admin/views/layout.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="canonical" href="<?php echo $canonical; ?>" />
<link rel="stylesheet" href="<?php echo site_url() ?>system/resources/css/fontawesome.min.css">
<link rel="stylesheet" href="<?php echo site_url() ?>system/resources/css/solid.min.css">
<link href="<?php echo site_url() ?>system/resources/css/adminlte.min.css" rel="stylesheet">
<link href="<?php echo site_url() ?>system/resources/css/adminlte.min.css?v=1" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
<script src="<?php echo site_url() ?>system/resources/js/jquery.min.js"></script>
<script src="<?php echo site_url() ?>system/resources/js/jquery-ui.min.js"></script>
Expand Down
4 changes: 4 additions & 0 deletions system/htmly.php
Original file line number Diff line number Diff line change
Expand Up @@ -3518,6 +3518,8 @@
$author->description = $current->authorDescription;
$author->about = $current->authorAbout;
$author->avatar = $current->authorAvatar;
$author->rss = $current->authorRss;
$author->slug = $current->author;

if (array_key_exists('prev', $post)) {
$prev = $post['prev'];
Expand Down Expand Up @@ -4693,6 +4695,8 @@
$author->description = $current->authorDescription;
$author->about = $current->authorAbout;
$author->avatar = $current->authorAvatar;
$author->rss = $current->authorRss;
$author->slug = $current->author;

if (array_key_exists('prev', $post)) {
$prev = $post['prev'];
Expand Down
6 changes: 6 additions & 0 deletions system/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ function get_posts($posts, $page = 1, $perpage = 0)
// The post author + author url
$post->author = $author;
$post->authorUrl = site_url() . 'author/' . $author;
$post->authorRss = site_url() . 'author/' . $author . '/feed';

$profile = get_author($author);
if (isset($profile[0])) {
Expand Down Expand Up @@ -1268,6 +1269,7 @@ function default_profile($name)
$author->url = site_url(). 'author/' . $name;
$author->slug = $name;
$author->file = '';
$author->rss = $author->url . '/feed';

return $tmp[] = $author;
}
Expand Down Expand Up @@ -2048,9 +2050,11 @@ function has_prev($prev)
'tag' => $prev->tag,
'author' => $prev->author,
'authorName' => $prev->authorName,
'authorDescription' => $prev->authorDescription,
'authorAbout' => $prev->authorAbout,
'authorUrl' => $prev->authorUrl,
'authorAvatar' => $prev->authorAvatar,
'authorRss' => $prev->authorRss,
'related' => $prev->related,
'views' => $prev->views,
'type' => $prev->type,
Expand Down Expand Up @@ -2087,9 +2091,11 @@ function has_next($next)
'tag' => $next->tag,
'author' => $next->author,
'authorName' => $next->authorName,
'authorDescription' => $prev->authorDescription,
'authorAbout' => $next->authorAbout,
'authorUrl' => $next->authorUrl,
'authorAvatar' => $next->authorAvatar,
'authorRss' => $next->authorRss,
'related' => $next->related,
'views' => $next->views,
'type' => $next->type,
Expand Down
2 changes: 1 addition & 1 deletion themes/clean/layout.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<?php echo $metatags;?>
<link href="<?php echo theme_path() ?>css/style.css" rel="stylesheet"/>
<link href="<?php echo theme_path() ?>css/style.css?v=1" rel="stylesheet"/>
<link href="//fonts.googleapis.com/css?family=Open+Sans+Condensed:700&subset=latin,cyrillic-ext" rel="stylesheet"/>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion themes/logs/layout.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="<?php echo $description; ?>"/>
<link rel="canonical" href="<?php echo $canonical; ?>" />
<?php echo $metatags;?>
<link href="<?php echo theme_path() ?>css/style.css" rel="stylesheet"/>
<link href="<?php echo theme_path() ?>css/style.css?v=1" rel="stylesheet"/>
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
Expand Down

0 comments on commit d2fe54d

Please sign in to comment.