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

Publish initial version #3

Merged
merged 8 commits into from
Jul 26, 2024
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
30 changes: 30 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run CI and potentially release
on:
pull_request:
push:
branches: [master]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Generate docs
run: |
npm install
JEKYLL_ENV=production bundle exec jekyll build

- name: Upload static site
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
commit_message: "${{ github.event.head_commit.message }} [skip ci]"
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ _site
.bundle
.sass-cache
.jekyll-metadata
_vendor/
vendor
.jekyll-cache/
node_modules/
Empty file added .nojekyll
Empty file.
10 changes: 4 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
source "https://rubygems.org"
ruby RUBY_VERSION

gem "jekyll", "3.8.5"
gem "jekyll", "4.3.3"

gem "minima", "2.5.0"
gem "kramdown-parser-gfm"

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
end
# Work around https://github.com/jekyll/jekyll/issues/8523
gem "webrick", "~> 1.8.1"
94 changes: 49 additions & 45 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,74 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
bigdecimal (3.1.8)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
concurrent-ruby (1.3.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.12.2)
ffi (1.17.0-x86_64-linux-gnu)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
google-protobuf (4.27.2-x86_64-linux)
bigdecimal
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.5)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.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 (1.17.0)
liquid (4.0.3)
listen (3.2.1)
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.3.6)
minima (2.5.0)
jekyll (~> 3.5)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.5)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
public_suffix (6.0.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rouge (3.19.0)
rexml (3.3.2)
strscan
rouge (4.3.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-embedded (1.77.8-x86_64-linux-gnu)
google-protobuf (~> 4.26)
strscan (3.1.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
ruby
x86_64-linux-gnu

DEPENDENCIES
jekyll (= 3.8.5)
jekyll-feed (~> 0.6)
minima (= 2.5.0)

RUBY VERSION
ruby 2.5.5p157
jekyll (= 4.3.3)
kramdown-parser-gfm
webrick (~> 1.8.1)

BUNDLED WITH
2.1.4
2.4.20
121 changes: 0 additions & 121 deletions LICENSE

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Awala website

## Conventions

- Custom styles use the `rn-*` prefix.
48 changes: 40 additions & 8 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,48 @@
title: "Awala"
description: "La red más resistente y moderna"
author: "Relaycorp, Inc."
lang: es
description: "The network on which humankind can truly rely"
permalink: /blog/:slug

twitter_username: LaRedAwala
facebook_username: AwalaNetwork
defaults:
- values:
description: null
breadcrumbs: null
pagination:
previous: null
next: null
js:
libraries: []
scripts: []
- scope:
path: ""
type: pages
values:
layout: page

markdown: kramdown
theme: minima
plugins:
- jekyll-feed
liquid:
strict_variables: true
strict_filters: true
sass:
load_paths:
- node_modules
exclude:
- Gemfile
- Gemfile.lock
- vendor
- node_modules
- .idea
- README.md

# Custom variables

javascript_libraries:
cash-dom:
# https://www.jsdelivr.com/package/npm/cash-dom
version: 8.1.5
digest: "sha256-mgRBiO/bYlxeBNEiBpjAmZJ/8Wv7Q0w3zX8E3V7hrh8="
path: "dist/cash.min.js"
mustache:
# https://www.jsdelivr.com/package/npm/mustache
version: 4.2.0
digest: "sha256-1/0GA1EkYejtvYFoa+rSq4LfM4m5zKI13Z1bQIhI4Co="
path: "mustache.min.js"
6 changes: 6 additions & 0 deletions _includes/awala_download.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div class="rn-gw-download">
<p class="pending">
Descargando información acerca de los últimos lanzamientos...
<progress class="progress is-small is-info" max="100"></progress>
</p>
</div>
3 changes: 3 additions & 0 deletions _includes/embed_mp4_video.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<video muted controls>
<source src="{{ include.path }}" type="video/mp4">
</video>
8 changes: 8 additions & 0 deletions _includes/embed_youtube_video.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<figure class="rl-youtube-video">
<iframe
src="https://www.youtube-nocookie.com/embed/{{ include.id }}?cc_load_policy=1&cc_lang_pref=es"
allow="accelerometer; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
>
</iframe>
</figure>
Loading