From ce9d2423d7db6e04296b4504341b34ae90bfb582 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Mon, 4 Sep 2017 14:51:56 -0400 Subject: [PATCH] make jekyll --- .gitignore | 4 ++ 404.html | 30 ++++++++++ Gemfile | 27 +++++++++ _config.yml | 41 +++++++++++++ _data/orgs/excomm.json | 34 +++++++++++ _data/orgs/officers.json | 34 +++++++++++ _data/orgs/senators.json | 34 +++++++++++ _data/orgs/sponsors.json | 20 +++++++ _data/orgs/yml/excomm.yml | 0 _data/orgs/yml/officers.yml | 26 ++++++++ _data/orgs/yml/senators.yml | 0 _data/orgs/yml/sponsors.yml | 0 _includes/footer.html | 20 +++++++ _includes/head.html | 10 ++++ _includes/header.html | 24 ++++++++ _posts/2017-09-04-welcome-to-jekyll.markdown | 25 ++++++++ about.html | 62 +++----------------- forms.html | 62 +++----------------- index.html | 62 +++----------------- forms-temp.html => oldlinks.html | 0 resources.html | 62 +++----------------- 21 files changed, 357 insertions(+), 220 deletions(-) create mode 100644 .gitignore create mode 100644 404.html create mode 100644 Gemfile create mode 100644 _config.yml create mode 100644 _data/orgs/excomm.json create mode 100644 _data/orgs/officers.json create mode 100644 _data/orgs/senators.json create mode 100644 _data/orgs/sponsors.json create mode 100644 _data/orgs/yml/excomm.yml create mode 100644 _data/orgs/yml/officers.yml create mode 100644 _data/orgs/yml/senators.yml create mode 100644 _data/orgs/yml/sponsors.yml create mode 100644 _includes/footer.html create mode 100644 _includes/head.html create mode 100644 _includes/header.html create mode 100644 _posts/2017-09-04-welcome-to-jekyll.markdown rename forms-temp.html => oldlinks.html (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5cc469f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_site +.sass-cache +.jekyll-metadata +.lock diff --git a/404.html b/404.html new file mode 100644 index 0000000..f0a22d0 --- /dev/null +++ b/404.html @@ -0,0 +1,30 @@ +--- +layout: default +--- + + + + + {% include head.html %} + + + + +
+

404

+ +

Page not found :(

+

The requested page could not be found.

+
diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..7f21fd4 --- /dev/null +++ b/Gemfile @@ -0,0 +1,27 @@ +source "https://rubygems.org" + +# Hello! This is where you manage which Jekyll version is used to run. +# When you want to use a different version, change it below, save the +# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: +# +# bundle exec jekyll serve +# +# This will help ensure the proper Jekyll version is running. +# Happy Jekylling! +gem "jekyll", "3.5.2" + +# This is the default theme for new Jekyll sites. You may change this to anything you like. +gem "minima", "~> 2.0" + +# If you want to use GitHub Pages, remove the "gem "jekyll"" above and +# uncomment the line below. To upgrade, run `bundle update github-pages`. +# gem "github-pages", group: :jekyll_plugins + +# If you have any plugins, put them here! +group :jekyll_plugins do + gem "jekyll-feed", "~> 0.6" +end + +# Windows does not include zoneinfo files, so bundle the tzinfo-data gem +gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] + diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..b948ea2 --- /dev/null +++ b/_config.yml @@ -0,0 +1,41 @@ +# Welcome to Jekyll! +# +# This config file is meant for settings that affect your whole blog, values +# which you are expected to set up once and rarely edit after that. If you find +# yourself editing this file very often, consider using Jekyll's data files +# feature for the data you need to update frequently. +# +# For technical reasons, this file is *NOT* reloaded automatically when you use +# 'bundle exec jekyll serve'. If you change this file, please restart the server process. + +# Site settings +# These are used to personalize your new site. If you look in the HTML files, +# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. +# You can create any custom variable you would like, and they will be accessible +# in the templates via {{ site.myvariable }}. +title: TJSGA +email: sga.tjhsst@gmail.com +description: > # this means to ignore newlines until "baseurl:" + Thomas Jefferson High School Student Government Association +baseurl: "" # the subpath of your site, e.g. /blog +url: "" # the base hostname & protocol for your site, e.g. http://example.com +twitter_username: tjSGA +github_username: willzhang05 + +# Build settings +markdown: kramdown +#theme: minima +plugins: + - jekyll-feed + +# Exclude from processing. +# The following items will not be processed, by default. Create a custom list +# to override the default setting. +# exclude: +# - Gemfile +# - Gemfile.lock +# - node_modules +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ diff --git a/_data/orgs/excomm.json b/_data/orgs/excomm.json new file mode 100644 index 0000000..46cec2e --- /dev/null +++ b/_data/orgs/excomm.json @@ -0,0 +1,34 @@ +{ + "name": "SGA Executive Committee", + "description": "The Executive Committee (ExComm) is a integral sub-group of the SGA. Its members act as representatives of the student body. The members work with the officers to organize events and activities throughout to year. While several ExComm positions may have more specific roles, all are working towards the goals of the SGA. Applications to be on ExComm are released every June after Class Council elections have been completed.", + "members": [ + { + "first": "William", + "last": "Zhang", + "year": 2018, + "title": "Technology Specialist", + "intro": "" + }, + { + "first": "William", + "last": "Zhang", + "year": 2018, + "title": "Technology Specialist", + "intro": "" + }, + { + "first": "William", + "last": "Zhang", + "year": 2018, + "title": "Technology Specialist", + "intro": "" + }, + { + "first": "William", + "last": "Zhang", + "year": 2018, + "title": "Technology Specialist", + "intro": "" + } + ] +} diff --git a/_data/orgs/officers.json b/_data/orgs/officers.json new file mode 100644 index 0000000..30f36ce --- /dev/null +++ b/_data/orgs/officers.json @@ -0,0 +1,34 @@ +{ + "name": "SGA Officers", + "description": "", + "members": [ + { + "first": "Nick", + "last": "Begotka", + "year": 2018, + "title": "", + "intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association" + }, + { + "first": "Sherry", + "last": "Xie", + "year": 2018, + "title": "", + "intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association" + }, + { + "first": "Shreya", + "last": "Chappidi", + "year": 2018, + "title": "", + "intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association" + }, + { + "first": "Sitara", + "last": "Uppalapati", + "year": 2019, + "title": "", + "intro": "Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association" + } + ] +} diff --git a/_data/orgs/senators.json b/_data/orgs/senators.json new file mode 100644 index 0000000..63c3880 --- /dev/null +++ b/_data/orgs/senators.json @@ -0,0 +1,34 @@ +{ + "name": "SGA Class Senators", + "description": "Jefferson's student government is divided into school-wide student government (SGA) and grade-level student government (Class Council). While the SGA organizes school-wide events and addresses school-wide concerns and issues, Class Councils represent their grade's needs and host fundraisers and events with the goal to raise money for both Prom and Graduation at the end of senior year. SGA Class Senators serve as Class Council members who are liaisons with the SGA.", + "members": [ + { + "first": "Sabria", + "last": "Kazmi", + "year": 2019, + "title": "2019 Senator", + "intro": "" + }, + { + "first": "Sabria", + "last": "Kazmi", + "year": 2019, + "title": "2019 Senator", + "intro": "" + }, + { + "first": "Sabria", + "last": "Kazmi", + "year": 2019, + "title": "2019 Senator", + "intro": "" + }, + { + "first": "Sabria", + "last": "Kazmi", + "year": 2019, + "title": "2019 Senator", + "intro": "" + } + ] +} diff --git a/_data/orgs/sponsors.json b/_data/orgs/sponsors.json new file mode 100644 index 0000000..91d62e8 --- /dev/null +++ b/_data/orgs/sponsors.json @@ -0,0 +1,20 @@ +{ + "name": "SGA Sponsors", + "description": "The SGA Sponsors attend all SGA meetings and functions. They also provide invaluable guidance and feedback - whether through late night emails, frigid-cold morning meetings, lunch discussions, or anything in between.", + "members": [ + { + "first": "Amanda", + "last": "Hurowitz", + "year": -1, + "title": "TJ Humanities", + "intro": "" + }, + { + "first": "Marianne", + "last": "Razzino", + "year": -1, + "title": "TJ Mathematics", + "intro": "" + } + ] +} diff --git a/_data/orgs/yml/excomm.yml b/_data/orgs/yml/excomm.yml new file mode 100644 index 0000000..e69de29 diff --git a/_data/orgs/yml/officers.yml b/_data/orgs/yml/officers.yml new file mode 100644 index 0000000..fb55599 --- /dev/null +++ b/_data/orgs/yml/officers.yml @@ -0,0 +1,26 @@ +name: SGA Officers +description: +members: + - name: Nick Begotka + - year: 2018 + - title: + - intro: > + Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association + + - name: Sherry Xie + - year: 2018 + - title: + - intro: > + Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association + + - name: Shreya Chappidi + - year: 2018 + - title: + - intro: > + Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association + + - name: Sitara Uppalapati + - year: 2019 + - title: + - intro: > + Welcome to Thomas Jefferson High School for Science and Technology's Student Government Association diff --git a/_data/orgs/yml/senators.yml b/_data/orgs/yml/senators.yml new file mode 100644 index 0000000..e69de29 diff --git a/_data/orgs/yml/sponsors.yml b/_data/orgs/yml/sponsors.yml new file mode 100644 index 0000000..e69de29 diff --git a/_includes/footer.html b/_includes/footer.html new file mode 100644 index 0000000..ce4bb5f --- /dev/null +++ b/_includes/footer.html @@ -0,0 +1,20 @@ + + diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..efe41b4 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/_includes/header.html b/_includes/header.html new file mode 100644 index 0000000..36470d0 --- /dev/null +++ b/_includes/header.html @@ -0,0 +1,24 @@ +
+ + +
+
+
diff --git a/_posts/2017-09-04-welcome-to-jekyll.markdown b/_posts/2017-09-04-welcome-to-jekyll.markdown new file mode 100644 index 0000000..b8a69a2 --- /dev/null +++ b/_posts/2017-09-04-welcome-to-jekyll.markdown @@ -0,0 +1,25 @@ +--- +layout: post +title: "Welcome to Jekyll!" +date: 2017-09-04 13:44:53 -0400 +categories: jekyll update +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: https://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/about.html b/about.html index e783d19..4a45250 100644 --- a/about.html +++ b/about.html @@ -1,46 +1,17 @@ +--- +permalink: /about +--- - - - - - - - - - + {% include head.html %} - About - TJSGA -
- - -
-
-
+ {% include header.html %}

Contact Us!

@@ -297,26 +268,7 @@
- - + {% include footer.html %} - \ No newline at end of file + diff --git a/forms.html b/forms.html index 8794c91..903f8aa 100644 --- a/forms.html +++ b/forms.html @@ -1,70 +1,22 @@ +--- +permalink: /forms +--- - - - - - - - - - - + {% include head.html %} Forms - TJSGA -
- - -
-
-
+ {% include header.html %}
- - + {% include footer.html %} - \ No newline at end of file + diff --git a/index.html b/index.html index 961026c..0f6bd5a 100644 --- a/index.html +++ b/index.html @@ -1,45 +1,16 @@ +--- +permalink: / +--- - - - - - - - - - - + {% include head.html %} Home - TJSGA -
- - -
-
-
+ {% include header.html %}
@@ -90,26 +61,7 @@
- - + {% include footer.html %} - \ No newline at end of file + diff --git a/forms-temp.html b/oldlinks.html similarity index 100% rename from forms-temp.html rename to oldlinks.html diff --git a/resources.html b/resources.html index ec7b36b..a6e85ab 100644 --- a/resources.html +++ b/resources.html @@ -1,45 +1,16 @@ +--- +permalink: /resources +--- - - - - - - - - - - + {% include head.html %} Resources - TJSGA -
- - -
-
-
+ {% include header.html %}
@@ -123,26 +94,7 @@
- - + {% include footer.html %} - \ No newline at end of file +