Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 49 additions & 0 deletions .github/workflows/zola.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy Zola site

on:
push:
branches: ["wip/jimmac/zola"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Install Zola
uses: taiki-e/install-action@v2
with:
tool: zola@0.20.0

- name: Build site
run: zola build --base-url https://jimmac.github.io/WebKitGTK.org/

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: public

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
releases
_site/
.jekyll-cache/
public/
vendor
.bundle/

# Planet
_cache/
Expand Down
Empty file added .nojekyll
Empty file.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
webkitgtk.org
=============
<div align="center">
<img src="static/assets/favicon.svg" width="128" height="128">

The WebKitGTK website.
# WebKitGTK.org

New version of the WebKitGTK website done in [Jekyll](http://jekyllrb.com/)
using the style of GNOME project pages.
The WebKitGTK website.
</div>

In order to test it you need to install Jeykyll, you can do it with the
following commands in a Debian based system:
This site is made with [Zola](https://www.getzola.org/).

sudo apt-get install jekyll
In order to test it:

And then you can run the command `jekyll build` that will generate the site under
`_site` folder. BTW, you can use `jekyll serve` to test it locally.
```
zola serve
```

In order to write a piece of news in the new website you just have to create a
new file inside `_posts` folder using
In order to write a piece of news you have to create a
new file inside the `content/news` folder using
[Markdown](http://daringfireball.net/projects/markdown/) syntax.
6 changes: 0 additions & 6 deletions _config.yml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

12 changes: 0 additions & 12 deletions _posts/2016-01-29-webkitgtk2.10.7-released.md

This file was deleted.

12 changes: 0 additions & 12 deletions _posts/2020-07-28-webkitgtk2.28.4-released.md

This file was deleted.

12 changes: 0 additions & 12 deletions _posts/2022-01-21-webkitgtk2.34.4-released.md

This file was deleted.

12 changes: 0 additions & 12 deletions _posts/2022-08-24-webkitgtk2.36.7-released.md

This file was deleted.

12 changes: 0 additions & 12 deletions _posts/2023-08-01-webkitgtk2.40.5-released.md

This file was deleted.

22 changes: 0 additions & 22 deletions atom.xml

This file was deleted.

19 changes: 19 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
base_url = "https://webkitgtk.org"
title = "WebKitGTK"
description = "A WebKit port for the GTK library."

compile_sass = false
build_search_index = false
generate_feeds = true

[markdown]

[slugify]
paths = "safe"

[extra]
sourceurl = "https://github.com/WebKitGTK/webkitgtk.org"
issuesurl = "https://github.com/WebKitGTK/webkitgtk.org/issues"
primary_color = "#3584e4"
stable_release_version = "2.46.3"
unstable_release_version = "2.47.1"
Loading