Skip to content

Commit

Permalink
"first" commit
Browse files Browse the repository at this point in the history
  • Loading branch information
meleu committed Aug 3, 2020
0 parents commit f6ea219
Show file tree
Hide file tree
Showing 54 changed files with 5,432 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# RANews stuff
tools/.env

# jekyll stuff
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### Vim ###
# Swap
[._]*.s[a-v][a-z]
!*.svg # comment out if you don't need vector files
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~

16 changes: 16 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
permalink: /404.html
layout: default
---

<div style="text-align: center">
<h1>404</h1>

<p>
<strong>Page not found :(</strong>
</p>
<p>The requested page could not be found.</p>
<p>
<a href="/">Home</a>
</p>
</div>
32 changes: 32 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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.1.1"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
# 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.12"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", "~> 1.2"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# using emojis
gem "jemoji"
96 changes: 96 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.3.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.13.1)
forwardable-extended (2.6.0)
gemoji (3.0.1)
html-pipeline (2.13.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
i18n (1.8.4)
concurrent-ruby (~> 1.0)
jekyll (4.1.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-feed (0.15.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.12.0)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.3.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_portile2 (2.4.0)
minitest (5.14.1)
nokogiri (1.10.10)
mini_portile2 (~> 2.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)
ffi (~> 1.0)
rexml (3.2.4)
rouge (3.21.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tzinfo (1.2.7)
thread_safe (~> 0.1)
unicode-display_width (1.7.0)
zeitwerk (2.4.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll (~> 4.1.1)
jekyll-feed (~> 0.12)
jemoji
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)

BUNDLED WITH
2.1.4
51 changes: 51 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
#
# If you need help with YAML syntax, here are some quick references for you:
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/
#
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.

title: RANews
email: [email protected]
description: The RetroAchievements webzine
baseurl: # the subpath of your site, e.g. /blog
url: https://news.retroachievements.org

#twitter_username: jekyllrb
github_username: RetroAchievements

# Build settings
plugins:
- jekyll-feed
- jemoji

collections:
issues:
output: true
sort_by: order

exclude:
- tools/
# - .sass-cache/
# - .jekyll-cache/
# - gemfiles/
# - Gemfile
# - Gemfile.lock
# - node_modules/
# - vendor/bundle/
# - vendor/cache/
# - vendor/gems/
# - vendor/ruby/
5 changes: 5 additions & 0 deletions _data/toc-2020-08.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title,file
Introduction,index
Top Players,top-players
Sets Released,sets-released
DevTip,devtip
58 changes: 58 additions & 0 deletions _includes/aside.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<aside>
<div class="sidebar-header">
<a href="{{ site.baseurl }}">
<img alt="" src="{{ site.baseurl }}/img/ranews-small.png">
</a>
</div>
<div class="article-list-container">
<h2>{{ page.issue }}</h2>

<label for="article-list-toggle">&#9776;</label>
<input id="article-list-toggle" type="checkbox"/>

<ul class="article-list">
{% assign articles = site.issues | where: "issue", page.issue %}
{% for article in articles %}

{% if article.category == "" or article.category == nil %}
{% assign category = article.title %}
{% else %}
{% assign category = article.category %}
{% endif %}

{% if article.url == page.url %}
<li class="active">{{ category }}</li>
{% else %}
<a href="{{ site.baseurl }}{{ article.url }}">
<li>{{ category }}</li>
</a>
{% endif %}

{% endfor %}
</ul>
</div>
<div class="footer">
<ul class="icons">
<li>
<a href="https://retroachievements.org/">
<i class="icon icon-retroachievements"></i>
</a>
</li>
<li>
<a href="https://discord.gg/dq2E4hE">
<i class="fab fa-discord"></i>
</a>
</li>
<li>
<a href="https://docs.retroachievements.org/">
<i class="fa fa-book"></i>
</a>
</li>
<li>
<a href="https://github.com/RetroAchievements">
<i class="fab fa-github"></i>
</a>
</li>
</ul>
</div>
</aside>
34 changes: 34 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>{{ site.title }}
|
{{ site.description }}</title>

<!-- Primary Meta Tags -->
<meta name="title" content="{{ site.title }} | {{ site.description }}">
<meta content="Check what's happening on the RetroAchievements scene." name="description">

<!-- Open Graph / Facebook -->
<meta content="website" property="og:type">
<meta property="og:url" content="{{ site.url }}">
<meta property="og:title" content="{{ site.title }} | {{ site.description }}">
<meta content="Check what's happening on the RetroAchievements scene." property="og:description">
<meta content="img/share.png" property="og:image">

<!-- Twitter -->
<meta content="summary_large_image" property="twitter:card">
<meta property="twitter:url" content="{{ site.url }}">
<meta property="twitter:title" content="{{ site.title }} | {{ site.description }}">
<meta content="Check what's happening on the RetroAchievements scene." property="twitter:description">
<meta content="img/share.png" property="twitter:image">

<!-- <base href="{{ site.url }}"> -->

<link href="https://use.fontawesome.com/releases/v5.12.0/css/all.css" rel="stylesheet">

<link rel="stylesheet" href="{{ site.baseurl }}/css/normalize.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/rafont.css">
<link rel="shortcut icon" type="image/png" href="{{ site.baseurl }}/img/retroachievements-logo-color-transparent-square.png" sizes="16x16 32x32 64x64">
</head>
12 changes: 12 additions & 0 deletions _includes/previous-next-links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<nav>
{% if page.previous.url and page.previous.issue == page.issue %}
<a href="{{ site.baseurl }}{{ page.previous.url }}" class="previous">Previous</a>
{% else %}
<span></span>
{% endif %}
{% if page.next.url and page.next.issue == page.issue %}
<a href="{{ site.baseurl }}{{ page.next.url }}" class="next">Next</a>
{% else %}
<span></span>
{% endif %}
</nav>
Loading

0 comments on commit f6ea219

Please sign in to comment.