merge meta.toml into global site data
This commit is contained in:
parent
dd54240a08
commit
5f326cbe6d
3 changed files with 5 additions and 3 deletions
|
|
@ -1,2 +1,4 @@
|
|||
sitename = "yukinets"
|
||||
motd = "kill everyone now!! condone first degree murder!!"
|
||||
default_language = "en"
|
||||
timezone = "America/Santiago"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% if title %} {{ title }} | {{ meta.sitename }} {% else %} {{ meta.sitename }} {% endif %}</title>
|
||||
<title>{% if title %} {{ title }} | {{ site.sitename }} {% else %} {{ site.sitename }} {% endif %}</title>
|
||||
<link rel="stylesheet" href="/css/{{ style if style else "main" }}.css">
|
||||
<link rel="icon" type="image/png" href="/img/favicon.ico" width=16px>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<div class="header">
|
||||
<h1>{{ meta.sitename }}</h1>
|
||||
<h1>{{ site.sitename }}</h1>
|
||||
<a href={{ "/" | locale_url_resolve }}><div class="header-banner" title="{{ "home" | i18n }}"></div></a>
|
||||
<!--<div class="motd">
|
||||
<marquee behavior="scroll" direction="left">
|
||||
<p>{{ meta.motd }}</p>
|
||||
<p>{{ site.motd }}</p>
|
||||
</marquee>
|
||||
</div>-->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue