Skip to content

Commit fc2aa61

Browse files
17cupsofcoffeeozkriff
authored andcommitted
Migrate site to Zola (fixes rust-gamedev#7) (rust-gamedev#42)
* Migrate site to Zola * Update README to match new folder structure * Remove old asset * Handle the post/page distinction in a smarter way * Slight phrasing tweak * Add link tags for parity with original site
1 parent d0b8fc2 commit fc2aa61

File tree

136 files changed

+520
-471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+520
-471
lines changed

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Zola
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
zola:
7+
runs-on: ubuntu-latest
8+
env:
9+
BASE_URL: https://github.com/getzola/zola/releases/download
10+
VERS: v0.9.0
11+
ARCH: x86_64-unknown-linux-gnu
12+
# https://github.com/marketplace/actions/github-pages#warning-limitation
13+
GITHUB_PAT: ${{ secrets.GITHUB_PAT }}
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Install Zola
17+
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
18+
- run: ./zola --version
19+
- run: ./zola build
20+
- name: Deploy
21+
if: github.ref == 'refs/heads/master'
22+
uses: crazy-max/ghaction-github-pages@v1
23+
with:
24+
build_dir: public

.gitignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
.bundle
2-
.sass-cache
3-
Gemfile.lock
4-
_site
5-
*.gem
1+
public/

.travis.yml

-15
This file was deleted.

404.html

-24
This file was deleted.

Gemfile

-2
This file was deleted.

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44

55
* At the beginning of the month, a draft of the newsletter is created
66
from a [template](./newsletter-template.md).
7+
* This should be called `index.md`, and placed in a folder named
8+
`/posts/newsletter-xxx` (where `xxx` is the issue number).
79
* During the month PRs with the month's news, meeting notes, etc
810
are reviewed and merged into the draft.
9-
* All images are supposed to be placed into `assets/newsletter-{index}` dir.
11+
* All images should be placed in the same folder as the post.
1012
* Check the comments in the draft file.
1113
* At the end of the month, the draft is reviewed as a whole
1214
and polished if needed.
1315
* On the first working day of the next month, the final PR
14-
(that renames and moves the draft file into the `_posts` dir) is sent.
16+
(that removes `draft = true` from the post's front matter and adds the date) is sent.
1517
* The link to the newsletter is shared on social networks, etc.
1618
* A small PR that adds links to Reddit, Twitter, etc discussions
1719
(see the comment at the bottom of the draft) is made.

_config.yml

-51
This file was deleted.

_includes/footer.html

-31
This file was deleted.

_includes/google-analytics.html

-9
This file was deleted.

_includes/head.html

-11
This file was deleted.

_includes/header.html

-34
This file was deleted.

_includes/social.html

-19
This file was deleted.

_layouts/default.html

-18
This file was deleted.

_layouts/home.html

-57
This file was deleted.

_layouts/page.html

-14
This file was deleted.

_layouts/post.html

-27
This file was deleted.

config.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
title = "Rust Game Development Working Group"
2+
description = "Stay up to date with the progress and recent developments in the Rust Game Development Working Group."
3+
base_url = "https://rust-gamedev.github.io/"
4+
default_language = "en"
5+
compile_sass = true
6+
highlight_code = true
7+
generate_rss = true
8+
9+
[extra]
10+
date_format = "%F"
11+
show_summaries = false
12+
13+
[extra.social_links]
14+
twitter = "rust_gamedev"
15+
github = "rust-gamedev"
16+
discord = "j6QJsMd"
17+
rss = "RSS"

0 commit comments

Comments
 (0)