replace hugo by a self provided python script

This commit is contained in:
Thomas Dedek
2020-04-09 11:39:01 +02:00
parent 288b31309c
commit 83c2db9dca
9 changed files with 87 additions and 56 deletions

View File

@@ -1,38 +0,0 @@
---
items:
# - url: https://forum.ecogood.org
# solution: Discourse
# title:
# en: Forum
# de: Discussion Board
# cssClass: forum
- url: https://mail.ecogood.org
solution: Zimbra
title: Webmail
cssClass: mail
- url: https://wiki.ecogood.org
solution: Confluence
title: Wiki
cssClass: wiki
- url: https://datacloud.ecogood.org
solution: Nextcloud
title: Data cloud
cssClass: cloud
- url: https://list.ecogood.org/wws
solution: Sympa
title: E-Mail lists
cssClass: maillist
- url: https://login.smartwe.de/SmartWe/
solution: SmartWE
title: Membership admin
cssClass: smartwe
- url: https://git.ecogood.world
solution: Gitea
title: Code hosting
cssClass: code
- url: https://jira.ecogood.org
solution: JIRA
title: Ticket system
cssClass: projekte
---

18
content/index.tmpl.html Normal file
View File

@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<title>ECG portal</title>
<link rel="stylesheet" href="ecogood.css"/>
<link rel="icon" href="favicon-cropped.webp" sizes="32x32" />
<link rel="icon" href="favicon.webp" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="favicon.png" />
<meta name="msapplication-TileImage" content="favicon.webp" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<img class="heading-img" src="ecg-portal-logo.png" />
<div class="epframe">
$items
</div>
</body>
</html>

5
content/item.tmpl.html Normal file
View File

@@ -0,0 +1,5 @@
<a href="$url" target="_blank">
<div class="epsquare epcol$cssClass">
<div class="eptextfunc">$title</div>
<div class="eptexttool">$solution</div>
</div></a>