Skip to content

Migrate site to Zola (fixes #7) #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Zola

on: [push, pull_request]

jobs:
zola:
runs-on: ubuntu-latest
env:
BASE_URL: https://github.com/getzola/zola/releases/download
VERS: v0.9.0
ARCH: x86_64-unknown-linux-gnu
# https://github.com/marketplace/actions/github-pages#warning-limitation
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}
steps:
- uses: actions/checkout@v1
- name: Install Zola
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
- run: ./zola --version
- run: ./zola build
- name: Deploy
if: github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: public
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
.bundle
.sass-cache
Gemfile.lock
_site
*.gem
public/
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions 404.html

This file was deleted.

2 changes: 0 additions & 2 deletions Gemfile

This file was deleted.

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@

* At the beginning of the month, a draft of the newsletter is created
from a [template](./newsletter-template.md).
* This should be called `index.md`, and placed in a folder named
`/posts/newsletter-xxx` (where `xxx` is the issue number).
* During the month PRs with the month's news, meeting notes, etc
are reviewed and merged into the draft.
* All images are supposed to be placed into `assets/newsletter-{index}` dir.
* All images should be placed in the same folder as the post.
* Check the comments in the draft file.
* At the end of the month, the draft is reviewed as a whole
and polished if needed.
* On the first working day of the next month, the final PR
(that renames and moves the draft file into the `_posts` dir) is sent.
(that removes `draft = true` from the post's front matter and adds the date) is sent.
* The link to the newsletter is shared on social networks, etc.
* A small PR that adds links to Reddit, Twitter, etc discussions
(see the comment at the bottom of the draft) is made.
Expand Down
51 changes: 0 additions & 51 deletions _config.yml

This file was deleted.

31 changes: 0 additions & 31 deletions _includes/footer.html

This file was deleted.

9 changes: 0 additions & 9 deletions _includes/google-analytics.html

This file was deleted.

11 changes: 0 additions & 11 deletions _includes/head.html

This file was deleted.

34 changes: 0 additions & 34 deletions _includes/header.html

This file was deleted.

19 changes: 0 additions & 19 deletions _includes/social.html

This file was deleted.

18 changes: 0 additions & 18 deletions _layouts/default.html

This file was deleted.

57 changes: 0 additions & 57 deletions _layouts/home.html

This file was deleted.

14 changes: 0 additions & 14 deletions _layouts/page.html

This file was deleted.

27 changes: 0 additions & 27 deletions _layouts/post.html

This file was deleted.

17 changes: 17 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title = "Rust Game Development Working Group"
description = "Stay up to date with the progress and recent developments in the Rust Game Development Working Group."
base_url = "https://rust-gamedev.github.io/"
default_language = "en"
compile_sass = true
highlight_code = true
generate_rss = true

[extra]
date_format = "%F"
show_summaries = false

[extra.social_links]
twitter = "rust_gamedev"
github = "rust-gamedev"
discord = "j6QJsMd"
rss = "RSS"
Loading