diff --git a/config.toml b/config.toml index b03b357..dac8f4e 100644 --- a/config.toml +++ b/config.toml @@ -9,7 +9,7 @@ paginate = 5 # ["orange", "blue", "red", "green", "pink"] themeColor = "orange" # if you set this to 0, only submenu trigger will be visible - showMenuItems = 2 + showMenuItems = 3 # show selector to switch language showLanguageSelector = false # set theme to full screen width @@ -43,3 +43,7 @@ paginate = 5 identifier = "contact" name = "Contact" url = "/contact" + [[languages.en.menu.main]] + identifier = "chat" + name = "Chat" + url = "/chat" diff --git a/content/chat/allthingstech.md b/content/chat/allthingstech.md new file mode 100644 index 0000000..aee5842 --- /dev/null +++ b/content/chat/allthingstech.md @@ -0,0 +1,35 @@ +--- +title: "#allthingstech" +date: 2019-09-29T13:52:32-07:00 +draft: true +--- + +General public chat room discussing all things tech related. + + +**[matrix]** +[#allthingstech:monkeystew.net](https://matrix.to/#/#allthingstech:monkeystew.net) + + + +xmpp +[#allthingstech#monkeystew.net@matrix.xmpp.monkeystew.net](xmpp:#allthingstech#monkeystew.net@matrix.xmpp.monkeystew.net?join) + +pnut +[all things tech](https://patter.chat/room/508) + +irc +[#allthingstech](ircs://irc.monkeystew.net/allthingstech) on irc.monkeystew.net + +  + +**Rules** + +- Be respectful +- No spamming + +  + +**Notice** + +Some of the connected networks maintain a persistent chat history while others do not. Some participants may also keep their own copies of the conversation. Please be aware that regardless of how you connect your conversation is logged in multiple places. \ No newline at end of file diff --git a/content/chat/dev.md b/content/chat/dev.md new file mode 100644 index 0000000..cd44245 --- /dev/null +++ b/content/chat/dev.md @@ -0,0 +1,40 @@ +--- +title: "#dev" +date: 2019-09-29T11:54:10-07:00 +draft: false +--- + +My general chat room for development related things on the matrix network. + +**[matrix]** +[#dev:monkeystew.net](https://matrix.to/#/#dev:monkeystew.net) + + + +xmpp +[#dev#monkeystew.net@matrix.xmpp.monkeystew.net](xmpp:#dev#monkeystew.net@matrix.xmpp.monkeystew.net?join) + +pnut +[monkeystew dev](https://patter.chat/room/85) + +gitter +[monkeystew-dev](https://gitter.im/monkeystew-dev/Lobby) + +irc +[#dev](ircs://irc.monkeystew.net/dev) on irc.monkeystew.net + +telegram +[monkeystew dev](https://t.me/joinchat/Av2-00ZWK3nZ-5GDkkksQg) + +  + +**Rules** + +- Be respectful +- No spamming + +  + +**Notice** + +Some of the connected networks maintain a persistent chat history while others do not. Some participants may also keep their own copies of the conversation. Please be aware that regardless of how you connect your conversation is logged in multiple places. \ No newline at end of file diff --git a/layouts/chat/list.html b/layouts/chat/list.html new file mode 100644 index 0000000..118a833 --- /dev/null +++ b/layouts/chat/list.html @@ -0,0 +1,59 @@ +{{ define "main" }} +
+ {{ $isntDefault := not (or (eq (trim $.Site.Params.contentTypeName " ") "posts") (eq (trim $.Site.Params.contentTypeName " ") "")) }} + {{ $contentTypeName := cond $isntDefault (string $.Site.Params.contentTypeName) "posts" }} + + {{ $PageContext := . }} + {{ if .IsHome }} + {{ $PageContext = .Site }} + {{ end }} + {{ $paginator := .Paginate (where $PageContext.RegularPages "Type" "chat") }} + + {{ range $paginator.Pages }} +
+

+ {{ .Title | markdownify }}

+ + + {{ if .Params.tags }} + + {{ end }} + + {{ with .Params.Cover }} + + {{ end }} + +
+ {{ if .Params.showFullContent }} + {{ .Content | markdownify }} + {{ else if .Description }} + {{ .Description | markdownify }} + {{ else }} + {{ if .Truncated }} + {{ .Summary | markdownify }} + {{ end }} + {{ end }} +
+ + {{ if not .Params.showFullContent }} +
+ {{ $.Site.Params.ReadMore }} → +
+ {{ end }} +
+ {{ end }} + {{ partial "pagination.html" . }} +
+{{ end }} diff --git a/layouts/chat/single.html b/layouts/chat/single.html new file mode 100644 index 0000000..56396d6 --- /dev/null +++ b/layouts/chat/single.html @@ -0,0 +1,62 @@ +{{ define "main" }} +
+

+ {{ .Title | markdownify }}

+
+ {{ if .Params.Date }} + + {{ end }} + {{ with .Params.Author }} + + {{ end }} +
+ + {{ if .Params.tags }} + + {{ range .Params.tags }} + #{{ . }}  + {{ end }} + + {{ end }} + + {{ with .Params.Cover }} + + {{ end }} + +
+ {{ .Content }} +
+ {{ if or .NextInSection .PrevInSection }} + + {{ end }} + + {{ partial "comments.html" . }} +
+{{ end }}