Skip to content

Commit

Permalink
Merge pull request #25 from skipgu/community-posts-page
Browse files Browse the repository at this point in the history
Added a communityposts collection, and set up a basic sample post on said page
  • Loading branch information
JonathanPartain authored Nov 17, 2023
2 parents 7f81a71 + 0aa3fe4 commit dff5066
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 8 deletions.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ source "https://rubygems.org"
# Jekyll Version
gem "jekyll", "~> 3.9.3"
# This is the default theme for new Jekyll sites.
gem "github-pages", group: :jekyll_plugins
gem "github-pages", group: :jekyll_plugins do
gem "jekyll_paginate"
end

gem "webrick"
gem "rexml"
24 changes: 24 additions & 0 deletions _communityposts/example_post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: This is a test post
# optional alternate title to replace page.title at the top of the page
alt_title: test alt title
# optional sub-title below the page title
sub_title: sub title
introduction: |
intro text goes here
#image: # url to a hero image

author:
name: john doe
comments: false
collection: communityposts
---


this is a simple test post

## title can go here
- list item one
- list item two

21 changes: 21 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,24 @@ instagram_username: "skip.gu"
linkedin_username: "company/skip-student-association"
discord_link: "https://tinyurl.com/skip-discord"
google_analytics: G-96M5M9TCM7

paginate: 10
paginate_path: /page:num/

plugins:
- jekyll-paginate

collections:
communityposts:
output: true
permalink: /posts/:path/

defaults:
- scope:
path: "_communityposts"
type: communityposts
values:
layout: posts
read_time: true


1 change: 1 addition & 0 deletions _data/theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ skin: night # default, night, plum, sea, soft, steel
navigation_pages:
- join_skip.md
- membership.md
# - communityposts.md
7 changes: 7 additions & 0 deletions communityposts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Posts
layout: collection
permalink: /posts/
collection: communityposts
entries_layout: list #list (default), grid
---
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: home
paginate: true
alt_title: "SKIP - Student Association"
sub_title: "SKIP - Student Association"
permalink: /
---

<p>SKIP, which stands for <b>"The student Association for Knowledge in Informatics and Programming",</b> is a vibrant community dedicated to enriching the academic and social experiences of students at the <b>IT faculty of Gothenburg University.</b></p>

<p>SKIP was founded in 1989 by a group of System Science students at the IT Faculty of the University of Gothenburg. Our mission is to offer students opportunities to socialize with people from different programs as a way to create an informal learning environment, where knowledge in IT can be shared.</p>

<p>The primary objective of SKIP is to deliver events that enhance the study experience of students within Göta Studentkår. By organizing diverse, engaging, and impactful events, SKIP aims to create a vibrant and supportive student community, where academic and personal growth are fostered.</p>
7 changes: 0 additions & 7 deletions index.md

This file was deleted.

1 change: 1 addition & 0 deletions join_skip.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Join SKIP
layout: post
permalink: /join-skip/
---

## Join Us: Become a SKIP Member!
Expand Down
1 change: 1 addition & 0 deletions membership.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Membership
layout: post
permalink: /membership/
---

## SKIP Student Association Structure Overview
Expand Down

0 comments on commit dff5066

Please sign in to comment.