Skip to content

Commit

Permalink
fix head
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHadiAhmadi committed Sep 11, 2024
1 parent 235c54e commit fb3ba08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/controllers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export const renderPageController = async (req, res) => {
style: page.style,
dir: page.dir,
lang: page.lang,
include_site_head: page.include_site_head,
seo,
settings
})
Expand Down
4 changes: 2 additions & 2 deletions src/layouts.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ export default {
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
{{settings.head}}
{{{settings.head}}}
{{{head}}}
{{else eq mode 'view'}}
<link rel="stylesheet" href="/css/sitebuilder.view.css">
{{settings.head}}
{{{settings.head}}}
{{{head}}}
{{/eq}}
Expand Down

0 comments on commit fb3ba08

Please sign in to comment.