add 11ty runMode var in head include
parent
4ca641fe98
commit
1498f80124
|
@ -10,7 +10,7 @@ eleventyExcludeFromCollections: true
|
|||
<!DOCTYPE html>
|
||||
<html prefix='og: http://ogp.me/ns#' dir='ltr'>
|
||||
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
|
||||
<body class='landing'>
|
||||
<a class='vertical flex' href='/home' onClick='javascript:history.go(-1)'>
|
||||
|
|
|
@ -12,7 +12,7 @@ sitemap:
|
|||
<!DOCTYPE html>
|
||||
<html lang='it'>
|
||||
<head>
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
</head>
|
||||
|
||||
<a href='/home' class='button tool'>home</a>
|
||||
|
|
|
@ -11,7 +11,7 @@ sitemap:
|
|||
---
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
<link rel='stylesheet' type='text/css' href='/everyone.css'>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ type: WebSite
|
|||
<!DOCTYPE html>
|
||||
<html prefix='og: http://ogp.me/ns#' dir='ltr'>
|
||||
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
|
||||
<body class='landing'>
|
||||
<div class='vertical flex'>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang='{% if lang == 'it' %}it{% else %}en{% endif %}' xmlns:og='http://opengraphprotocol.org/schema/'>
|
||||
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
|
||||
<body>
|
||||
<main class='{{ class }}'>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang='{% if lang == 'it' %}it{% else %}en{% endif %}' xmlns:og='http://opengraphprotocol.org/schema/'>
|
||||
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
|
||||
<body>
|
||||
{% if textonly %}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% render 'head.html', latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
{% render 'head.html', runMode: eleventy.env.runMode, latex: latex, date: date, updated: updated, title: title, description: description, primary: primary, lang: lang, alternate: alternate, accounts: accounts, site: site, url: page.url, layout: layout, isNote: isNote, isPost: isPost, tommi: tommi, image: image %}
|
||||
|
||||
<body class='cantiere{% if class %} {{ class }}{% endif %}'>
|
||||
<a id='scrollButton' class='tool' onclick='nowScroll()' href='#' aria-label='scroll to top' title='scroll to top'>
|
||||
|
|
Loading…
Reference in New Issue