diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-10-06 13:31:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-06 13:31:07 +0200 |
commit | e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08 (patch) | |
tree | 811f5f69ec5c8a364c853b146fcf88c014a28042 /application/PageBuilder.php | |
parent | a062416918c964e7551137c08b5b5671e6e2bb7e (diff) | |
parent | a120fb2977331e0f7d7ffe05861ba179fdae8764 (diff) | |
download | Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.gz Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.tar.zst Shaarli-e95247d41dbe3b46c83d97f2a9d0e7bd1194bf08.zip |
Merge pull request #1205 from ArthurHoaro/feature/opengraph
Add OpenGraph meta tags on permalink page
Diffstat (limited to 'application/PageBuilder.php')
-rw-r--r-- | application/PageBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/PageBuilder.php b/application/PageBuilder.php index b1abe0d0..0efd24c3 100644 --- a/application/PageBuilder.php +++ b/application/PageBuilder.php | |||
@@ -101,7 +101,7 @@ class PageBuilder | |||
101 | 'version_hash', | 101 | 'version_hash', |
102 | ApplicationUtils::getVersionHash(SHAARLI_VERSION, $this->conf->get('credentials.salt')) | 102 | ApplicationUtils::getVersionHash(SHAARLI_VERSION, $this->conf->get('credentials.salt')) |
103 | ); | 103 | ); |
104 | $this->tpl->assign('scripturl', index_url($_SERVER)); | 104 | $this->tpl->assign('index_url', index_url($_SERVER)); |
105 | $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : ''; | 105 | $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : ''; |
106 | $this->tpl->assign('visibility', $visibility); | 106 | $this->tpl->assign('visibility', $visibility); |
107 | $this->tpl->assign('untaggedonly', !empty($_SESSION['untaggedonly'])); | 107 | $this->tpl->assign('untaggedonly', !empty($_SESSION['untaggedonly'])); |