Skip to content

Commit

Permalink
Merge pull request #40 from contao-themes-net/update-fe_page
Browse files Browse the repository at this point in the history
update fe_page template
  • Loading branch information
MDevster authored Mar 9, 2022
2 parents 4051983 + 0d3b970 commit 1663a1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.8.1](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.8.1) – 2022-02-18

- [fix] update fe_page template

## [1.8.0](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.8.0) – 2022-02-15

- [feature] add sql files for contao 4.13
Expand Down
2 changes: 1 addition & 1 deletion src/Module/NatureThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class NatureThemeSetup extends \BackendModule
{
const VERSION = '1.8.0';
const VERSION = '1.8.1';

protected $strTemplate = 'be_naturetheme_setup';

Expand Down
6 changes: 5 additions & 1 deletion src/Resources/contao/templates/frontend/fe_page_nature.html5
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<base href="<?= $this->base ?>">

<meta name="robots" content="<?= $this->robots ?>">
<meta name="description" content="<?= $this->description ?>">
<meta name="description" content="<?= Contao\StringUtil::substr($this->description, 320) ?>">
<meta name="generator" content="Contao Open Source CMS">

<?php if ($this->canonical): ?>
<link rel="canonical" href="<?= $this->canonical ?>">
<?php endif; ?>

<?= $this->viewport ?>

<meta property="og:title" content="<?php echo $this->pageTitle; ?> - <?php echo $this->mainTitle; ?>" />
Expand Down

0 comments on commit 1663a1b

Please sign in to comment.