aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--application/feed/FeedBuilder.php2
-rw-r--r--tpl/default/includes.html2
-rw-r--r--tpl/vintage/includes.html2
-rw-r--r--yarn.lock6
4 files changed, 6 insertions, 6 deletions
diff --git a/application/feed/FeedBuilder.php b/application/feed/FeedBuilder.php
index 7c859474..957c8273 100644
--- a/application/feed/FeedBuilder.php
+++ b/application/feed/FeedBuilder.php
@@ -157,7 +157,7 @@ class FeedBuilder
157 $permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>'; 157 $permalink = '<a href="' . $link['guid'] . '" title="' . t('Permalink') . '">' . t('Permalink') . '</a>';
158 } 158 }
159 $link['description'] = format_description($link['description'], $pageaddr); 159 $link['description'] = format_description($link['description'], $pageaddr);
160 $link['description'] .= PHP_EOL . '<br>&#8212; ' . $permalink; 160 $link['description'] .= PHP_EOL . PHP_EOL . '<br>&#8212; ' . $permalink;
161 161
162 $pubDate = $link['created']; 162 $pubDate = $link['created'];
163 $link['pub_iso_date'] = $this->getIsoDate($pubDate); 163 $link['pub_iso_date'] = $this->getIsoDate($pubDate);
diff --git a/tpl/default/includes.html b/tpl/default/includes.html
index 6c30d1bf..d3d3c86f 100644
--- a/tpl/default/includes.html
+++ b/tpl/default/includes.html
@@ -22,7 +22,7 @@
22 <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> 22 <meta property="og:url" content="{$index_url}?{$link.shorturl}" />
23 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} 23 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
24 <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" /> 24 <meta property="og:description" content="{function="substr(strip_tags($ogDescription), 0, 300)"}" />
25 {if="$link.thumbnail"} 25 {if="!empty($link.thumbnail)"}
26 <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> 26 <meta property="og:image" content="{$index_url}{$link.thumbnail}" />
27 {/if} 27 {/if}
28 {if="!$hide_timestamps || $is_logged_in"} 28 {if="!$hide_timestamps || $is_logged_in"}
diff --git a/tpl/vintage/includes.html b/tpl/vintage/includes.html
index 2efb6b10..0cabc985 100644
--- a/tpl/vintage/includes.html
+++ b/tpl/vintage/includes.html
@@ -19,7 +19,7 @@
19 <meta property="og:url" content="{$index_url}?{$link.shorturl}" /> 19 <meta property="og:url" content="{$index_url}?{$link.shorturl}" />
20 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description} 20 {$ogDescription=isset($link.description_src) ? $link.description_src : $link.description}
21 <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" /> 21 <meta property="og:description" content="{function="mb_substr(strip_tags($ogDescription), 0, 300)"}" />
22 {if="$link.thumbnail"} 22 {if="!empty($link.thumbnail)"}
23 <meta property="og:image" content="{$index_url}{$link.thumbnail}" /> 23 <meta property="og:image" content="{$index_url}{$link.thumbnail}" />
24 {/if} 24 {/if}
25 {if="!$hide_timestamps || $is_logged_in"} 25 {if="!$hide_timestamps || $is_logged_in"}
diff --git a/yarn.lock b/yarn.lock
index 7e627ab1..96f854c1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3631,9 +3631,9 @@ minizlib@^1.1.1:
3631 minipass "^2.2.1" 3631 minipass "^2.2.1"
3632 3632
3633mixin-deep@^1.2.0: 3633mixin-deep@^1.2.0:
3634 version "1.3.1" 3634 version "1.3.2"
3635 resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" 3635 resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
3636 integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ== 3636 integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==
3637 dependencies: 3637 dependencies:
3638 for-in "^1.0.2" 3638 for-in "^1.0.2"
3639 is-extendable "^1.0.1" 3639 is-extendable "^1.0.1"