Skip to content
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

Refresh based on os-component-website template #31

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
releases
_site/
.jekyll-cache/
vendor
.bundle/

# Planet
_cache/
Expand Down
13 changes: 13 additions & 0 deletions 404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: default
permalink: /404.html
---

![404]({{site.baseurl}}/assets/404.png){:.full}

# Page Not Found

If you feel this is not normal, create an issue on the GitHub.

[Go Back](<javascript:window.history.go(-1);>){: .inline-button} [File an Issue]({{site.issuesurl}})
{: .dialog-buttons}
33 changes: 33 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.3.3"

# This is the default theme for new Jekyll sites. You may change this to anything you like.

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
# gem 'jekyll-feed', '~> 0.13'
# gem 'jekyll-sitemap', '~> 1.4'
# gem 'jekyll-compose', '~> 0.12.0'
# gem 'jekyll-postfiles', '~> 3.1'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
# gem "wdm", "~> 0.1.0" if Gem.win_platform?

gem "webrick", "~> 1.8"
168 changes: 168 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.3.4)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.17.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-aarch64-linux-musl)
ffi (1.17.0-arm-linux-gnu)
ffi (1.17.0-arm-linux-musl)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86-linux-gnu)
ffi (1.17.0-x86-linux-musl)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.17.0-x86_64-linux-musl)
forwardable-extended (2.6.0)
google-protobuf (4.28.3)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-aarch64-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86-linux)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.28.3-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jekyll (4.3.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.3.9)
rouge (4.5.1)
safe_yaml (1.0.5)
sass-embedded (1.80.7)
google-protobuf (~> 4.28)
rake (>= 13)
sass-embedded (1.80.7-aarch64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-aarch64-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-androideabi)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-gnueabihf)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm-linux-musleabihf)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-arm64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-riscv64-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-linux-musl)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86-mingw-ucrt)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-cygwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-darwin)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-android)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-gnu)
google-protobuf (~> 4.28)
sass-embedded (1.80.7-x86_64-linux-musl)
google-protobuf (~> 4.28)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.6.0)
webrick (1.9.0)

PLATFORMS
aarch64-linux
aarch64-linux-android
aarch64-linux-gnu
aarch64-linux-musl
aarch64-mingw-ucrt
arm-linux-androideabi
arm-linux-gnu
arm-linux-gnueabihf
arm-linux-musl
arm-linux-musleabihf
arm64-darwin
riscv64-linux-android
riscv64-linux-gnu
riscv64-linux-musl
ruby
x86-cygwin
x86-linux
x86-linux-android
x86-linux-gnu
x86-linux-musl
x86-mingw-ucrt
x86_64-cygwin
x86_64-darwin
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl

DEPENDENCIES
jekyll (~> 4.3.3)
webrick (~> 1.8)

BUNDLED WITH
2.5.22
22 changes: 9 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
webkitgtk.org
=============
<div align="center">
<img src="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 in [Jekyll](http://jekyllrb.com/) using the style of GNOME project pages.

sudo apt-get install jekyll
In order to test it, see [Setup](https://jimmac.github.io/os-component-website/#setup).

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.

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 `_posts` folder using
[Markdown](http://daringfireball.net/projects/markdown/) syntax.
13 changes: 10 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: The WebKitGTK Project
url: https://webkitgtk.org
exclude: ['README.md', 'generate-site', 'releases', 'webkit-release', 'planet', 'generate-planet', 'generate-security-advisory', 'reference', 'cvedata']
title: WebKitGTK
url: "https://webkitgtk.org"
sourceurl: "https://github.com/WebKitGTK/webkitgtk.org"
description: "A WebKit port for the GTK library."
issuesurl: "https://github.com/WebKitGTK/webkitgtk.org/issues"
permalink: /:title/
primary-color: "#3584e4"
exclude: ["README.md", "scripts", "releases", "planet", "reference", "cvedata"]

markdown: kramdown

stable-release-version: 2.46.3
unstable-release-version: 2.47.1
8 changes: 8 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<footer>
<p>&copy; {{ site.title }}, 2009 &ndash; 2024</p>
<p>
Hosting kindly provided by <a href="https://www.igalia.com">Igalia</a>
</p>

<p><a href="{{ site.sourceurl }}">Website Source</a></p>
</footer>
29 changes: 29 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="{{ site.primary-color }}">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/rss.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/atom.xml" | prepend: site.baseurl | prepend: site.url }}" />

<link rel="stylesheet" href="{{ "/style.css" | prepend: site.baseurl }}" />

<link rel="icon" type="image/png" href="{{ "/assets/favicon.png" | prepend: site.baseurl }}" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/assets/apple-touch-icon.png" | prepend: site.baseurl }}" />

<!-- Twitter -->
<meta property="twitter:title" content="{{site.title}}" />
<meta property="twitter:image" content="{{ "/assets/card.png" | prepend: site.baseurl | prepend: site.url }}" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:description" content="{{site.description}}" />

<!-- Open Graph -->
<meta property="og:title" content="{{ site.title }}" />
<meta property="og:url" content="{{ site.url }}" />
<meta property="og:description" content="{{ site.description }}" />
<meta property="og:image" content="{{ "/assets/card.png" | prepend: site.baseurl | prepend: site.url }}" />
</head>
3 changes: 3 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<header>
<h1 id="logo"><a href="{{ "/" | prepend: site.baseurl }}">{{ site.title }}</a></h1>
</header>
Loading