added dev build and root index symlink
This commit is contained in:
parent
3c4944bacb
commit
a915cee61c
10 changed files with 41 additions and 14 deletions
4
src/_data/global.dev.json
Normal file
4
src/_data/global.dev.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"title": "DEV sp-codes",
|
||||
"url": "https://dev.sp-codes.de"
|
||||
}
|
|
@ -1,3 +1,10 @@
|
|||
const fs = require("fs");
|
||||
const site = require("./global.json");
|
||||
site.buildTime = new Date();
|
||||
|
||||
site.buildName = process.env.BUILD || 'prod';
|
||||
if (fs.existsSync(`${__dirname}/global.${site.buildName}.json`)) {
|
||||
Object.assign(site, require(`./global.${site.buildName}.json`));
|
||||
}
|
||||
site.buildTime = new Date().toISOString();
|
||||
|
||||
module.exports = site;
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
<meta property="og:title" content="{{ site.title }} - {{ title }}">
|
||||
<meta property="og:description" content="{{ summary }}">
|
||||
<meta property="og:site_name" content="{{ site.title }} - {{ title }}">
|
||||
<meta property="og:image" content="https://sp-codes.de/img/og.png">
|
||||
<meta property="og:image" content="{{ site.url }}/img/og.png">
|
||||
<meta property="og:updated_time" content="{{ site.buildTime }}">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="{{ site.title }} - {{ title }}">
|
||||
<meta name="twitter:description" content="{{ summary }}">
|
||||
<meta name="twitter:image" content="https://sp-codes.de/img/og.png">
|
||||
<meta name="twitter:image" content="{{ site.url }}/img/og.png">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<link rel="stylesheet" href="{{ '/css/main.css' | rev }}">
|
||||
|
|
|
@ -15,14 +15,14 @@ summary: Impressum von sp-codes – Informationen zu Rechtsinhaber und Kontaktan
|
|||
<h2>Kontakt</h2>
|
||||
<p>
|
||||
<strong>E-Mail-Adresse:</strong> mail@sp-codes.de<br>
|
||||
<strong>Weitere Kontaktmöglichkeiten:</strong> <a href="/{{locale}}/contact">https://sp-codes.de/{{locale}}/contact</a><br>
|
||||
<strong>Weitere Kontaktmöglichkeiten:</strong> <a href="/{{locale}}/contact">{{ site.url }}/{{locale}}/contact</a><br>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mb-3 pt-4 border-top">
|
||||
<h2>Domains</h2>
|
||||
<ul>
|
||||
<li><a href="https://samuel-philipp.de">samuel-philipp.de</a></li>
|
||||
<li><a href="https://sp-codes.de">sp-codes.de</a></li>
|
||||
<li><a href="{{ site.url }}">sp-codes.de</a></li>
|
||||
<li><a href="https://sp-magic.de">sp-magic.de</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -14,8 +14,8 @@ summary: Datenschutzerklärung von sp-codes – Informationen zur Datenverarbeit
|
|||
<p>
|
||||
<strong>E-Mail-Adresse:</strong> mail@sp-codes.de<br>
|
||||
<strong>Kontaktmöglichkeiten:</strong> <a
|
||||
href="/{{locale}}/contact">https://sp-codes.de/{{locale}}/contact</a><br>
|
||||
<strong>Impressum:</strong> <a href="/{{locale}}/imprint">https://sp-codes.de/{{locale}}/imprint</a>
|
||||
href="/{{locale}}/contact">{{ site.url }}/{{locale}}/contact</a><br>
|
||||
<strong>Impressum:</strong> <a href="/{{locale}}/imprint">{{ site.url }}/{{locale}}/imprint</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
|
|
|
@ -15,14 +15,14 @@ summary: Imprint of sp-codes - Information on legal owner and contact details.
|
|||
<h2>Contact</h2>
|
||||
<p>
|
||||
<strong>E-Mail-Address:</strong> mail@sp-codes.de<br>
|
||||
<strong>More contact options:</strong> <a href="/{{locale}}/contact">https://sp-codes.de/{{locale}}/contact</a><br>
|
||||
<strong>More contact options:</strong> <a href="/{{locale}}/contact">{{ site.url }}/{{locale}}/contact</a><br>
|
||||
</p>
|
||||
</div>
|
||||
<div class="mb-3 pt-4 border-top">
|
||||
<h2>Domains</h2>
|
||||
<ul>
|
||||
<li><a href="https://samuel-philipp.de">samuel-philipp.de</a></li>
|
||||
<li><a href="https://sp-codes.de">sp-codes.de</a></li>
|
||||
<li><a href="{{ site.url }}">sp-codes.de</a></li>
|
||||
<li><a href="https://sp-magic.de">sp-magic.de</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
1
src/index.html
Symbolic link
1
src/index.html
Symbolic link
|
@ -0,0 +1 @@
|
|||
de/index.html
|
Loading…
Add table
Add a link
Reference in a new issue