diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..6d5c66e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: build + +on: + # Run on push to main + push: + branches: + - main + + schedule: + - cron: "0 0 * * *" + + # Run manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@master + with: + submodules: true + - name: build + uses: jakejarvis/hugo-build-action@master + - name: deploy + uses: JamesIves/github-pages-deploy-action@4.1.5 + with: + branch: gh-pages + folder: public diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4216f2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Folder that stores the compiled site +public +public/* + +# hugo build lockfile +.hugo_build.lock + +# minified CSS autogenerated by theme at buildtime +resources/_gen +resources/_gen/* diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5154615 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/ananke"] + path = themes/ananke + url = https://github.com/theNewDynamic/gohugo-theme-ananke.git diff --git a/config.toml b/config.toml index 1d7c819..3baadb7 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,32 @@ -baseURL = 'http://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' +title = "SMN Robotics" +baseURL = "/" +languageCode = "en-us" +theme = "ananke" + +# Automatically makes sections show up in the menu +#SectionPagesMenu = "main" +#Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number +enableRobotsTXT = true + +# render raw HTML +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + +[sitemap] + changefreq = "monthly" + priority = 0.5 + filename = "sitemap.xml" + +[params] + site_logo = "/img/937-logo-transparent.webp" + footer_image = "/img/937-numbers-transparent.webp" + # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" + background_color_class = "bg-dark-red" + #recent_posts_number = 2 + + custom_css = ["css/custom.css"] + + # Social links + github = "https://github.com/frc937/" diff --git a/content/7572206D6F6D/69732077696465/hehehiddenpage.md b/content/7572206D6F6D/69732077696465/hehehiddenpage.md new file mode 100644 index 0000000..8001fcf --- /dev/null +++ b/content/7572206D6F6D/69732077696465/hehehiddenpage.md @@ -0,0 +1,16 @@ +--- +title: "Hidden Page" +type: page +--- + +Congratulations! You have found our secret hidden page. [Here's a fun link](https://www.youtube.com/watch?v=7Sv5FrTDmvE) (**you should be redirected to that link shortly**) + +Also, here's a cool picture: +![A photograph showing a woman speaking to a knight. The woman says, "Fair knight will thy journey be dangerous?" The knight responds, "'Twill be long and hard." The woman says, "'Tis what she proclaimed."](/img/tis-what-she-proclaimed.jpg) + + diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..abb62d0 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,9 @@ +--- +title: "Welcome!" +description: "We are FRC team 937, AKA the Nerd Herd, the robotics team for Shawnee Mission North!" +date: 2022-01-31T16:46:01-06:00 +featured_image: "/img/2020-robot-side-view.png" +--- +placeholder for info about the team (I feel like marketing should write this, not me) + +{{< hidden link="/7572206d6f6d/69732077696465/hehehiddenpage/" >}}hehe lil hidden link click me{{< /hidden >}} diff --git a/content/about/_index.md b/content/about/_index.md new file mode 100644 index 0000000..e0a286c --- /dev/null +++ b/content/about/_index.md @@ -0,0 +1,4 @@ +--- +title: "About" +menu: main +--- diff --git a/content/about/about-first.md b/content/about/about-first.md new file mode 100644 index 0000000..1cef238 --- /dev/null +++ b/content/about/about-first.md @@ -0,0 +1,6 @@ +--- +title: "About FIRST" +draft: true +type: page +--- + diff --git a/content/about/about-us.md b/content/about/about-us.md new file mode 100644 index 0000000..0a794d0 --- /dev/null +++ b/content/about/about-us.md @@ -0,0 +1,9 @@ +--- +title: "About Us" +type: page +menu: + main: + parent: About +draft: true +--- + diff --git a/content/about/subteams.md b/content/about/subteams.md new file mode 100644 index 0000000..e58a261 --- /dev/null +++ b/content/about/subteams.md @@ -0,0 +1,6 @@ +--- +title: "Subteams" +type: page +draft: true +--- + diff --git a/content/contact.md b/content/contact.md new file mode 100644 index 0000000..1002ac2 --- /dev/null +++ b/content/contact.md @@ -0,0 +1,9 @@ +--- +title: "Contact Us" +type: page +menu: main +--- + + + +{{< form-contact action="https://airform.io/placeholder@example.com" >}} diff --git a/content/events/_index.md b/content/events/_index.md new file mode 100644 index 0000000..c84c57b --- /dev/null +++ b/content/events/_index.md @@ -0,0 +1,4 @@ +--- +title: "Events" +menu: main +--- diff --git a/content/events/calendar.md b/content/events/calendar.md new file mode 100644 index 0000000..394801c --- /dev/null +++ b/content/events/calendar.md @@ -0,0 +1,6 @@ +--- +title: "Calendar" +type: page +draft: true +--- + diff --git a/content/events/cow-town.md b/content/events/cow-town.md new file mode 100644 index 0000000..cab362c --- /dev/null +++ b/content/events/cow-town.md @@ -0,0 +1,6 @@ +--- +title: "Cow Town" +type: page +draft: true +--- + diff --git a/content/events/frc-competition.md b/content/events/frc-competition.md new file mode 100644 index 0000000..3aa7acf --- /dev/null +++ b/content/events/frc-competition.md @@ -0,0 +1,6 @@ +--- +title: "Frc Competition" +type: page +draft: true +--- + diff --git a/content/events/robotics-day.md b/content/events/robotics-day.md new file mode 100644 index 0000000..0402542 --- /dev/null +++ b/content/events/robotics-day.md @@ -0,0 +1,6 @@ +--- +title: "Robotics Day" +type: page +draft: true +--- + diff --git a/content/media/_index.md b/content/media/_index.md new file mode 100644 index 0000000..704b5e8 --- /dev/null +++ b/content/media/_index.md @@ -0,0 +1,4 @@ +--- +title: "Media" +menu: main +--- diff --git a/content/media/photo-gallery.md b/content/media/photo-gallery.md new file mode 100644 index 0000000..e5a679e --- /dev/null +++ b/content/media/photo-gallery.md @@ -0,0 +1,6 @@ +--- +title: "Photo Gallery" +type: page +draft: true +--- + diff --git a/content/media/updates/_index.md b/content/media/updates/_index.md new file mode 100644 index 0000000..389858e --- /dev/null +++ b/content/media/updates/_index.md @@ -0,0 +1,7 @@ +--- +title: "Updates" +menu: + main: + parent: Media +--- +Blog posts and updates from FRC 937. diff --git a/content/media/updates/test-post.md b/content/media/updates/test-post.md new file mode 100644 index 0000000..fd5abe8 --- /dev/null +++ b/content/media/updates/test-post.md @@ -0,0 +1,6 @@ +--- +title: "Test Post" +type: page +draft: true +--- + diff --git a/content/robots/_index.md b/content/robots/_index.md new file mode 100644 index 0000000..881ed14 --- /dev/null +++ b/content/robots/_index.md @@ -0,0 +1,5 @@ +--- +title: "Robots" +type: page +menu: main +--- diff --git a/content/robots/new-hope-2020.md b/content/robots/new-hope-2020.md new file mode 100644 index 0000000..cac931d --- /dev/null +++ b/content/robots/new-hope-2020.md @@ -0,0 +1,5 @@ +--- +title: "New Hope 2020" +type: page +--- + diff --git a/content/robots/owoange-juice-2022.md b/content/robots/owoange-juice-2022.md new file mode 100644 index 0000000..68172f7 --- /dev/null +++ b/content/robots/owoange-juice-2022.md @@ -0,0 +1,5 @@ +--- +title: "Owoange Juice 2022" +type: page +--- + diff --git a/content/sponsors/_index.md b/content/sponsors/_index.md new file mode 100644 index 0000000..ac2b894 --- /dev/null +++ b/content/sponsors/_index.md @@ -0,0 +1,4 @@ +--- +title: "Sponsors" +menu: main +--- diff --git a/content/sponsors/mentors.md b/content/sponsors/mentors.md new file mode 100644 index 0000000..0ec21ec --- /dev/null +++ b/content/sponsors/mentors.md @@ -0,0 +1,6 @@ +--- +title: "Our Mentors" +type: page +draft: true +--- + diff --git a/content/sponsors/sponsors.md b/content/sponsors/sponsors.md new file mode 100644 index 0000000..acecf71 --- /dev/null +++ b/content/sponsors/sponsors.md @@ -0,0 +1,7 @@ +--- +title: "Our Sponsors" +type: page +--- + +# Kieva Inc. +Kieva Inc.'s logo. A light tan dog with the text 'Kieva Inc.' in orange underneath. diff --git a/content/sponsors/support-us.md b/content/sponsors/support-us.md new file mode 100644 index 0000000..02f9237 --- /dev/null +++ b/content/sponsors/support-us.md @@ -0,0 +1,6 @@ +--- +title: "Support Us" +type: page +draft: true +--- + diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html new file mode 100755 index 0000000..c65adc4 --- /dev/null +++ b/layouts/partials/site-footer.html @@ -0,0 +1,13 @@ + diff --git a/layouts/shortcodes/hidden.html b/layouts/shortcodes/hidden.html new file mode 100644 index 0000000..001ac3d --- /dev/null +++ b/layouts/shortcodes/hidden.html @@ -0,0 +1,2 @@ +{{/*A shortcode for making hidden little links to mess with people.*/}} +{{ .Inner }} diff --git a/static/css/custom.css b/static/css/custom.css new file mode 100644 index 0000000..42f994e --- /dev/null +++ b/static/css/custom.css @@ -0,0 +1,15 @@ +/* Get rid of the 16 FREAKING REMS of padding Ananke puts at the bottom of EVERY PAGE by default */ +main { + padding-bottom: 0rem !important; +} + +/* This whole section is mostly to make page titles and such readable on their background that is currently VERY red. This may become unnecessary in the future as we add hero images. */ +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: bold !important; + /*color: #111 !important;*/ +} diff --git a/static/img/2020-robot-side-view.png b/static/img/2020-robot-side-view.png new file mode 100644 index 0000000..0bcf264 Binary files /dev/null and b/static/img/2020-robot-side-view.png differ diff --git a/static/img/937-logo-transparent.webp b/static/img/937-logo-transparent.webp new file mode 100644 index 0000000..a551ef4 Binary files /dev/null and b/static/img/937-logo-transparent.webp differ diff --git a/static/img/937-numbers-transparent.webp b/static/img/937-numbers-transparent.webp new file mode 100644 index 0000000..235e5fb Binary files /dev/null and b/static/img/937-numbers-transparent.webp differ diff --git a/static/img/kieva_badge_merged-300x266.png b/static/img/kieva_badge_merged-300x266.png new file mode 100644 index 0000000..a23976d Binary files /dev/null and b/static/img/kieva_badge_merged-300x266.png differ diff --git a/static/img/tis-what-she-proclaimed.jpg b/static/img/tis-what-she-proclaimed.jpg new file mode 100644 index 0000000..bc77d7c Binary files /dev/null and b/static/img/tis-what-she-proclaimed.jpg differ diff --git a/themes/ananke b/themes/ananke new file mode 160000 index 0000000..91df000 --- /dev/null +++ b/themes/ananke @@ -0,0 +1 @@ +Subproject commit 91df000ca82769a7578df81fa142d1a18e446bc0