Skip to content

Commit

Permalink
Use _self as target for base tag (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim authored Jan 4, 2024
1 parent df9d294 commit 1ec3551
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [1.26.2](https://github.com/eea/volto-eea-website-theme/compare/1.26.1...1.26.2) - 4 January 2024

### [1.26.1](https://github.com/eea/volto-eea-website-theme/compare/1.26.0...1.26.1) - 14 December 2023

#### :rocket: New Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-eea-website-theme",
"version": "1.26.1",
"version": "1.26.2",
"description": "@eeacms/volto-eea-website-theme: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/BaseTag.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export default function BaseTag(props) {
const baseHref = contentId ? flattenToAppURL(contentId) : null;

return baseHref !== null ? (
<Helmet base={{ target: '_blank', href: `${baseHref}/` }} />
<Helmet base={{ target: '_self', href: `${baseHref}/` }} />
) : null;
}

0 comments on commit 1ec3551

Please sign in to comment.