diff --git a/archetypes/default.md b/archetypes/default.md index 25b6752..bb37722 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,5 +1,18 @@ +++ date = '{{ .Date }}' -draft = true +draft = false title = '{{ replace .File.ContentBaseName "-" " " | title }}' +path = "" +isFuture = false +eventDate = "" +eventTime = "" +host = "" +description = "" +rsvpLink = "" +cfpLink = "" +note = "" +noteLink = "" +image = "" +imageBig = "" +highlightsLink = "" +++ diff --git a/content/2024-01.md b/content/2024-01.md new file mode 100644 index 0000000..fbe8c85 --- /dev/null +++ b/content/2024-01.md @@ -0,0 +1,17 @@ ++++ +date = '2024-01-20' +draft = false +title = 'Jan 2024 Meetup' +path = "2024-01" +isFuture = false +eventDate = "20 Jan 2024" +eventTime = "10 AM" +host = "TinkerSpace, Kalamassery" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/GESiP8KWcAAsIkO?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=mzJJ4u7JuQM" ++++ diff --git a/content/2024-02.md b/content/2024-02.md new file mode 100644 index 0000000..c135bd9 --- /dev/null +++ b/content/2024-02.md @@ -0,0 +1,17 @@ ++++ +date = '2024-02-24' +draft = false +title = 'Feb 2024 Meetup' +path = "2024-02" +isFuture = false +eventDate = "24 Feb 2024" +eventTime = "10 AM" +host = "Litmus7, SmartCity Kochi" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/GHHAFzGWQAEwJDN?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=u6S285GyEuw" ++++ diff --git a/content/2024-05.md b/content/2024-05.md new file mode 100644 index 0000000..a4b52ce --- /dev/null +++ b/content/2024-05.md @@ -0,0 +1,17 @@ ++++ +date = '2024-05-25' +draft = false +title = 'May 2024 Meetup' +path = "2024-05" +isFuture = false +eventDate = "25 May 2024" +eventTime = "10 AM" +host = "KeyValue Software Systems, SmartCity Kochi" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/GObXShoXoAAp9-B?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=jYf30SPMWus" ++++ diff --git a/content/2024-06.md b/content/2024-06.md new file mode 100644 index 0000000..b53a73c --- /dev/null +++ b/content/2024-06.md @@ -0,0 +1,17 @@ ++++ +date = '2024-06-22' +draft = false +title = 'Jun 2024 Meetup' +path = "2024-06" +isFuture = false +eventDate = "26 June 2024" +eventTime = "10 AM" +host = "IBS Software" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/GQ7njAcX0AMHHAe?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=Nmk3WJ7jfUY" ++++ diff --git a/content/2024-08.md b/content/2024-08.md new file mode 100644 index 0000000..381b1b4 --- /dev/null +++ b/content/2024-08.md @@ -0,0 +1,17 @@ ++++ +date = '2024-08-24' +draft = false +title = 'Aug 2024 Meetup' +path = "2024-08" +isFuture = false +eventDate = "24 August 2024" +eventTime = "10 AM" +host = "Entri, Kakkanad" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/GVwQ1kuWYAANbDH?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=LNN7czjbIXI" ++++ diff --git a/content/2024-10.md b/content/2024-10.md new file mode 100644 index 0000000..41affc5 --- /dev/null +++ b/content/2024-10.md @@ -0,0 +1,17 @@ ++++ +date = '2024-10-17' +draft = false +title = 'Oct 2024 Meetup' +path = "2024-10" +isFuture = false +eventDate = "17 October 2024" +eventTime = "10 AM" +host = "IBM India Software Lab" +hostLocation = "#" +description = "#" +rsvpLink = "#" +cfpLink = "#" +image = "" +imageBig = "https://pbs.twimg.com/media/Ga36CdgWEAAiUtF?format=jpg&name=4096x4096" +highlightsLink = "https://www.youtube.com/watch?v=Yyxlb6mPZI8" ++++ diff --git a/content/2024-11.md b/content/2024-11.md new file mode 100644 index 0000000..95b2401 --- /dev/null +++ b/content/2024-11.md @@ -0,0 +1,19 @@ ++++ +date = '2024-11-20' +draft = false +title = 'Nov 2024 Meetup' +path = "2024-11" +isFuture = true +eventDate = "Saturday, 23 November 2024" +eventTime = "10 AM" +host = "Kerala Startup Mission, Kochi" +hostLocation = "https://geohack.toolforge.org/geohack.php?params=10.0554_N_76.3546_E" +description = "10.0554N 76.3546E" +rsvpLink = "https://ee.kobotoolbox.org/ZZ7WnC6D" +cfpLink = "https://ee.kobotoolbox.org/T9aWLMJb" +note = "PS: Bring your laptops with SuperTuxKart installed, we'll be having a small LAN party ;) " +noteLink = "https://supertuxkart.net/" +image = "" +imageBig = "" +highlightsLink = "" ++++ diff --git a/hugo.toml b/hugo.toml index 8a6cf34..69a20fc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,4 @@ baseURL = 'kochifoss.github.io' languageCode = 'en-us' title = 'KochiFOSS' +paginate = 10 \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..b26c4d5 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,14 @@ + + + + + + Not found + + +
+

Page not found

+ Go to home page +
+ + \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..c27107b --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,21 @@ + + + + + + + + + Kochi FOSS + + + +
+ {{ partial "navbar" . }} + {{ block "main" . }}{{ end }} + {{ block "noticeboard" . }}{{end}} + {{ partial "footer" . }} +
+ + + \ No newline at end of file diff --git a/layouts/_default/index.html b/layouts/_default/index.html deleted file mode 100644 index aecd260..0000000 --- a/layouts/_default/index.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - Kochi FOSS | കൊച്ചി FOSS - - - -
-
- -
-
- Matrix
#kochifoss:matrix.org
- XMPP
kochifoss@chat.disroot.org
- Telegram
@KochiFOSS
-
-
-
-

November 2024 Meetup

-

-

Host: Kerala Startup Mission, Kochi
-
10.0554N 76.3546E
-
Time & Date: 10 AM, Saturday, 23rd November, 2024
-

- - -

- PS: Bring your laptops with SuperTuxKart installed, we'll be having a small LAN party ;) -

-
-
-
- - diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..43b98c9 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,103 @@ +{{ define "main" }} +
+
+
+ Landing Image +
+
+

Kochi FOSS

+

A freewheeling community of developers and enthusiasts of Free (Libre) + and Open Source Software who gather in person for laid-back meetups in Kochi, India.

+ {{/* RSVP for next + meet */}} +
+ +
+ +
+ {{ range .Paginator.Pages}} +
+
+ + {{ if .Params.isFuture }} + +
+
+
+

{{ .Params.title }}

+

+

+
{{ .Params.description }}
+
Time & Date: {{ .Params.eventDate }}
+

+
+
+ + +
+ +
+

+ {{ .Params.note }}🔗 +

+
+
+
+ {{ else }} +
+
{{ .Params.eventDate }}
+ +
+ + +
+
+

{{ .Params.title }}

+

{{ .Params.host }}

+
+
+ 📄 + Read more +
+ +
+
+
+
+ {{ end }} +
+
+ {{ end }} +
+ {{ template "_internal/pagination.html" . }} +
+
+
+{{ end }} \ No newline at end of file diff --git a/layouts/_default/noticeboard.html b/layouts/_default/noticeboard.html new file mode 100644 index 0000000..375d7ce --- /dev/null +++ b/layouts/_default/noticeboard.html @@ -0,0 +1,3 @@ +{{ define "noticeboard"}} + +{{end}} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..82efc89 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,47 @@ +{{ define "main" }} +
+ +
+

{{ .Params.title }}

+
+ + +
+

Host: {{ .Params.host }}

+

Time & Date: {{ .Params.eventTime }}, {{ .Params.eventDate }}

+
+ + +
+ + {{ if .Params.isFuture}} + + {{ end }} +
+ + {{ .Content }} + + +
+

Gallery

+ + Talk Poster + + {{/*
+ +
+ Talk Poster +

Talk Title 1

+

Speaker Name

+
+
+ Talk Poster +

Talk Title 2

+

Speaker Name

+
+ +
+
*/}} + +
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..fc56798 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html new file mode 100644 index 0000000..3eaba10 --- /dev/null +++ b/layouts/partials/navbar.html @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/static/images/background.png b/static/images/background.png new file mode 100644 index 0000000..c7f670b Binary files /dev/null and b/static/images/background.png differ diff --git a/static/styles/style.css b/static/styles/style.css new file mode 100644 index 0000000..dff4be0 --- /dev/null +++ b/static/styles/style.css @@ -0,0 +1,29 @@ +ul{ + display: flex; + gap: 10px; + list-style: none; + padding: 0; + margin: 0; + font-size: 14px; + margin-top: 80px; + margin-bottom: 30px; + } + + .page-item{ + border: 1px solid gray; + width: 30px; + height: 30px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 5px; + } + + .page-item.active{ + background-color: var(--text); + color: var(--bg); + } + .page-item.disabled{ + background-color: #313845; + cursor: not-allowed; + } \ No newline at end of file