Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc2aa61

Browse filesBrowse 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
Copy full SHA for fc2aa61

File tree

136 files changed

+520
-471
lines changed
Filter options

Some content is hidden

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

136 files changed

+520
-471
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboard
+24Lines changed: 24 additions & 0 deletions
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

Copy file name to clipboard
+1-5Lines changed: 1 addition & 5 deletions
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

Copy file name to clipboardExpand all lines: .travis.yml
-15Lines changed: 0 additions & 15 deletions
This file was deleted.

‎404.html

Copy file name to clipboardExpand all lines: 404.html
-24Lines changed: 0 additions & 24 deletions
This file was deleted.

‎Gemfile

Copy file name to clipboardExpand all lines: Gemfile
-2Lines changed: 0 additions & 2 deletions
This file was deleted.

‎README.md

Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
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

Copy file name to clipboardExpand all lines: _config.yml
-51Lines changed: 0 additions & 51 deletions
This file was deleted.

‎_includes/footer.html

Copy file name to clipboardExpand all lines: _includes/footer.html
-31Lines changed: 0 additions & 31 deletions
This file was deleted.

‎_includes/google-analytics.html

Copy file name to clipboardExpand all lines: _includes/google-analytics.html
-9Lines changed: 0 additions & 9 deletions
This file was deleted.

‎_includes/head.html

Copy file name to clipboardExpand all lines: _includes/head.html
-11Lines changed: 0 additions & 11 deletions
This file was deleted.

‎_includes/header.html

Copy file name to clipboardExpand all lines: _includes/header.html
-34Lines changed: 0 additions & 34 deletions
This file was deleted.

‎_includes/social.html

Copy file name to clipboardExpand all lines: _includes/social.html
-19Lines changed: 0 additions & 19 deletions
This file was deleted.

‎_layouts/default.html

Copy file name to clipboardExpand all lines: _layouts/default.html
-18Lines changed: 0 additions & 18 deletions
This file was deleted.

‎_layouts/home.html

Copy file name to clipboardExpand all lines: _layouts/home.html
-57Lines changed: 0 additions & 57 deletions
This file was deleted.

‎_layouts/page.html

Copy file name to clipboardExpand all lines: _layouts/page.html
-14Lines changed: 0 additions & 14 deletions
This file was deleted.

‎_layouts/post.html

Copy file name to clipboardExpand all lines: _layouts/post.html
-27Lines changed: 0 additions & 27 deletions
This file was deleted.

‎config.toml

Copy file name to clipboard
+17Lines changed: 17 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.