Randomize names

This commit is contained in:
Benjamin Bädorf 2022-11-28 19:51:55 +01:00
parent 0b51f722cf
commit e72baf3007
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
2 changed files with 19 additions and 3 deletions

View file

@ -32,7 +32,15 @@ content:
## Imprint ## Imprint
pub.solar n.e.V. pub.solar n.e.V.
Benjamin Bädorf, Jhonas Wernery, Hendrik Sokolowki <script>
document.write(
'<p>' +
(['Benjamin Bädorf', 'Jhonas Wernery', 'Hendrik Sokolowki']
.sort(() => Math.random() - 0.5)
.join(', ')) +
'</p>'
);
</script>
c/o MiOM 202, c/o MiOM 202,
Wilhelm-Mauser-Straße 47 Halle 5, Wilhelm-Mauser-Straße 47 Halle 5,
D-50827 Köln, D-50827 Köln,
@ -80,7 +88,15 @@ content:
## Impressum ## Impressum
pub.solar n.e.V. pub.solar n.e.V.
Benjamin Bädorf, Jhonas Wernery, Hendrik Sokolowki <script>
document.write(
'<p>' +
(['Benjamin Bädorf', 'Jhonas Wernery', 'Hendrik Sokolowki']
.sort(() => Math.random() - 0.5)
.join(', ')) +
'</p>'
);
</script>
c/o MiOM 202, c/o MiOM 202,
Wilhelm-Mauser-Straße 47 Halle 5, Wilhelm-Mauser-Straße 47 Halle 5,
D-50827 Köln, D-50827 Köln,

View file

@ -1,7 +1,7 @@
import MarkdownIt from "https://jspm.dev/markdown-it"; import MarkdownIt from "https://jspm.dev/markdown-it";
const mdIt = new MarkdownIt({ const mdIt = new MarkdownIt({
html: false, // Enable HTML tags in source html: true, // Enable HTML tags in source
xhtmlOut: false, // Use '/' to close single tags (<br />). xhtmlOut: false, // Use '/' to close single tags (<br />).
// This is only for full CommonMark compatibility. // This is only for full CommonMark compatibility.
breaks: true, // Convert '\n' in paragraphs into <br> breaks: true, // Convert '\n' in paragraphs into <br>