-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contact-imprint-from-functions-json-website-file
- Loading branch information
ti ko
authored and
ti ko
committed
Jan 16, 2024
1 parent
cbd49e1
commit 128f736
Showing
10 changed files
with
53 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
--- | ||
type: contact | ||
--- | ||
|
||
- email: t "at" tik1.net | ||
- Whatsapp: +49 1573 95 98 220 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,4 @@ Responsible for the website: | |
Timo Körner | ||
|
||
Hepberg, Germany | ||
](../../fun/public/imprint.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
{{ partial "head.html" }} | ||
<div id="contact"> | ||
<h3 style="margin-top: 60px;margin-bottom: 30px;">Kontakt</h3> | ||
|
||
{{.Content}} | ||
<div style='padding-top:50px'></div> | ||
|
||
{{ partial "foot.html" }} | ||
<div id="content"></div> | ||
<div id=bottomnav></div> | ||
</div> | ||
<script type="module"> | ||
import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; | ||
test() | ||
async function test() { | ||
var res = await (await (fetch(net_host + net_fun + 'utils'))).json(); | ||
res = (res.filter(val => val.key === 'contact'))[0].val; | ||
document.getElementById('content').innerHTML = marked.parse(res); | ||
} | ||
</script> | ||
{{ partial "foot.html" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
{{ partial "head.html" }} | ||
<div id="imprint"> | ||
<h3 style="margin-top: 60px">Imprint</h3> | ||
|
||
{{.Content}} | ||
<div style='padding-top:50px'></div> | ||
|
||
{{ partial "foot.html" }} | ||
<div id="content"></div> | ||
<div id=bottomnav></div> | ||
</div> | ||
<script type="module"> | ||
import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; | ||
test() | ||
async function test() { | ||
var res = await (await (fetch(net_host + net_fun + 'utils'))).json(); | ||
res = (res.filter(val => val.key === 'imprint'))[0].val; | ||
document.getElementById('content').innerHTML = marked.parse(res); | ||
} | ||
</script> | ||
{{ partial "foot.html" }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
</div> | ||
<div id=bottomnav></div> | ||
</div> | ||
|
||
<script> | ||
|
||
// console.log(123) | ||
</script> | ||
<script src="/nav.js"></script> | ||
<script src="/foot.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters