From 29231c17524aa55ff5915b207d1e697c709b7073 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 29 Jan 2022 06:35:54 +0100 Subject: Added YapYap --- yapyap/feed.yaml | 10 +++ yapyap/template.xml | 26 +++++++ yapyap/theme.xsl | 192 ++++++++++++++++++++++++++++++++++++++++++++++++++++ yapyap/yapyap.xml | 26 +++++++ 4 files changed, 254 insertions(+) create mode 100644 yapyap/feed.yaml create mode 100644 yapyap/template.xml create mode 100644 yapyap/theme.xsl create mode 100644 yapyap/yapyap.xml (limited to 'yapyap') diff --git a/yapyap/feed.yaml b/yapyap/feed.yaml new file mode 100644 index 0000000..a347a92 --- /dev/null +++ b/yapyap/feed.yaml @@ -0,0 +1,10 @@ +feed: + author: Mitja Felicijan + link: https://mitjafelicijan.com + email: m@mitjafelicijan.com + +posts: + + - text: My first post! It has to start somewhere! + date: Sat, 29 Jan 2022 08:00:00 EST + image: /assets/yapyap/hello.png diff --git a/yapyap/template.xml b/yapyap/template.xml new file mode 100644 index 0000000..e90cabb --- /dev/null +++ b/yapyap/template.xml @@ -0,0 +1,26 @@ + + + + + + {{ .Feed.Author }} + {{ .Feed.Link }} + {{ .Feed.Email }} ({{ .Feed.Author }}) + YapYap + + {{ range $i, $e := .Posts }} + + + aaa{{ $i }} + {{ .Text }} + {{ .Date }} + + {{if .Image }} + + {{end}} + + + {{ end }} + + + diff --git a/yapyap/theme.xsl b/yapyap/theme.xsl new file mode 100644 index 0000000..b2fefc0 --- /dev/null +++ b/yapyap/theme.xsl @@ -0,0 +1,192 @@ + + + + + + + + + + + + + + + + + + + +
+
+
+

+

+ + + + + + + + +

+
+
+
+ +
+ + + + +
+ + +
+ + + + + +
+
+ +
+ +

+
+ + +
+ +
+
+
+ +
+
+ +
+ + + + +
+
diff --git a/yapyap/yapyap.xml b/yapyap/yapyap.xml new file mode 100644 index 0000000..bbde2f3 --- /dev/null +++ b/yapyap/yapyap.xml @@ -0,0 +1,26 @@ + + + + + + Mitja Felicijan + https://mitjafelicijan.com + m@mitjafelicijan.com (Mitja Felicijan) + YapYap + + + + + aaa0 + My first post! It has to start somewhere! + Sat, 29 Jan 2022 08:00:00 EST + + + + + + + + + + -- cgit v1.2.3