Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
27a9cec
🏗️🔧:modernize js source, shape it up #1136
DerekNonGeneric Feb 9, 2024
0157927
🏗🔧:pre-empt our new dark theme
DerekNonGeneric Feb 7, 2024
f844a22
rm editable false and all else frontmatter
DerekNonGeneric Feb 7, 2024
c0eac7b
fix the body_classes variables
DerekNonGeneric Feb 7, 2024
fd1c7a2
Update _layouts/default.html
DerekNonGeneric Feb 7, 2024
5c9fd67
Update _layouts/default.html
OpenINFbot Feb 8, 2024
f19cd5f
Update _layouts/default.html
OpenINFbot Feb 8, 2024
b5b4bfd
Update _layouts/docs.html
OpenINFbot Feb 8, 2024
f175c08
Update index.html
OpenINFbot Feb 8, 2024
10e6b99
finish up the frontmatter defaults
DerekNonGeneric Feb 8, 2024
effe49f
Update _layouts/docs.html
OpenINFbot Feb 8, 2024
4a5dda6
add some compiler magic
DerekNonGeneric Feb 8, 2024
cdbe51d
Update _config.yml
DerekNonGeneric Feb 8, 2024
8fbc9ba
Update _config.yml
DerekNonGeneric Feb 8, 2024
feded36
fixup! how it shoudl've been
DerekNonGeneric Feb 8, 2024
a87da3d
where did this go? win by default
DerekNonGeneric Feb 8, 2024
3dd0de2
we could make it special too
DerekNonGeneric Feb 8, 2024
8fc640c
o where o where has my little title gone
DerekNonGeneric Feb 8, 2024
b984e30
add sitemap.xml w/o plugin
DerekNonGeneric Feb 8, 2024
cdcaf72
let's try to pass the validator w/o info notes
DerekNonGeneric Feb 8, 2024
52cb37f
Update _includes/head.html
OpenINFbot Feb 9, 2024
c4ea655
Merge branch 'live' into fix/doom-scrolling
DerekNonGeneric Feb 9, 2024
8fc10c0
Restyled by prettier-yaml
restyled-commits Feb 9, 2024
29f7669
Merge branch 'live' into fix/doom-scrolling
OpenINFbot Feb 20, 2024
32c0e94
Merge branch 'live' into fix/doom-scrolling
DerekNonGeneric Feb 25, 2024
dabfeb1
Update _config.yml
DerekNonGeneric Feb 25, 2024
664ee2a
Update _config.yml
DerekNonGeneric Feb 25, 2024
11e7bd3
Restyled by prettier-yaml
restyled-commits Feb 25, 2024
3d7d5ee
Update _config.yml
DerekNonGeneric Feb 25, 2024
503cd7e
add potential head logic for custom css
DerekNonGeneric Feb 25, 2024
1124067
temporarily mv collections styles into custom stylesheet
DerekNonGeneric Feb 25, 2024
90ace15
configure sass via jekyll
DerekNonGeneric Feb 25, 2024
7e9ff8f
add more req'd sass scaffold & test w/ our colour
DerekNonGeneric Feb 25, 2024
453d2bc
simpify include logic
DerekNonGeneric Feb 25, 2024
f9eb43e
why not try this
DerekNonGeneric Feb 25, 2024
2513a13
so done w/ them
DerekNonGeneric Feb 25, 2024
bc9df3f
ugh
DerekNonGeneric Feb 25, 2024
8dd335e
we already knew that, but can we alternate too?
DerekNonGeneric Feb 25, 2024
1c956ea
deep jekyll; going deeper yet
DerekNonGeneric Feb 25, 2024
bfd5692
closer to what we really want; provide us an url
DerekNonGeneric Feb 25, 2024
928217b
fixup! this role is implied
DerekNonGeneric Feb 25, 2024
f24a045
much more 1337 page metadata
DerekNonGeneric Feb 25, 2024
6e6f03d
meta: we can make p. accurate deductions based on lang direction
DerekNonGeneric Feb 25, 2024
ce4a27b
set scene up for soon-to-follow schematizing & semantizing
DerekNonGeneric Feb 25, 2024
900a4fc
cleanup stale code
DerekNonGeneric Feb 25, 2024
54e78fc
test
DerekNonGeneric Feb 25, 2024
fb396bc
test
DerekNonGeneric Feb 25, 2024
06f94dd
Restyled by standardrb
restyled-commits Feb 25, 2024
33be033
anulled, pls
DerekNonGeneric Feb 25, 2024
d93ecbf
Restyled by standardrb
restyled-commits Feb 25, 2024
5fc0a7e
the docs are quite bad, even knowing how it works
DerekNonGeneric Feb 25, 2024
a6c5ae3
add cute star tops (keeper for ruby, maybe?)
DerekNonGeneric Feb 25, 2024
e171365
let us begin this after a brief lunch break
DerekNonGeneric Feb 25, 2024
151f5cd
Update _plugins/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
2f3f5df
Update _plugins/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
409f4a6
⚖️♻️:refactor licenses to canonical location
DerekNonGeneric Feb 26, 2024
1646ece
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
52cc171
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
7594d42
Update _plugins/asset_path_tag/asset_path_tag.rb
OpenINFbot Feb 26, 2024
e8644de
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
4b9d639
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
8e6838a
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
877c867
Update _plugins/asset_path_tag/asset_path_tag.rb
DerekNonGeneric Feb 26, 2024
1c88f6e
Update _plugins/asset_path_tag/asset_path_tag.rb
OpenINFbot Feb 26, 2024
11c46bb
💎♻️:re-locate to out-of-repo location
DerekNonGeneric Feb 26, 2024
a73b9b9
💎♻️:re-fresh sitemapgen to official jekyll plugin
DerekNonGeneric Feb 26, 2024
22daec1
Update Gemfile
OpenINFbot Feb 26, 2024
ca949d9
Update Gemfile
OpenINFbot Feb 26, 2024
b417ede
Update Gemfile
OpenINFbot Feb 26, 2024
24feed7
Update _config.yml
OpenINFbot Feb 26, 2024
a870360
Update Gemfile
DerekNonGeneric Feb 26, 2024
0864c46
Update Gemfile
DerekNonGeneric Feb 26, 2024
24bc3fa
Merge branch 'live' into fix/doom-scrolling
OpenINFbot Mar 15, 2024
4d16b37
Merge branch 'live' into fix/doom-scrolling
OpenINFbot Mar 21, 2024
f006047
Merge branch 'live' into fix/doom-scrolling
DerekNonGeneric Mar 27, 2024
9dd4732
make yaml valid
DerekNonGeneric Mar 27, 2024
61553bd
sort lines
DerekNonGeneric Mar 27, 2024
5ee5f1e
fix gemfile
DerekNonGeneric Mar 27, 2024
616f284
some more bundle fixes
DerekNonGeneric Mar 27, 2024
5796d34
more intelligently handle this later
DerekNonGeneric Mar 27, 2024
eafa4e8
add rubocop linter (rails omakase style)
DerekNonGeneric Mar 27, 2024
a199358
💜🔥
DerekNonGeneric Mar 27, 2024
c0f549d
add git-lfs as lunar dep
DerekNonGeneric Mar 27, 2024
7ce5096
for some reason this helps
DerekNonGeneric Mar 27, 2024
2bb0316
help ci out
DerekNonGeneric Mar 27, 2024
0728bc3
Update _config.yml
OpenINFbot Mar 27, 2024
5df5580
Update _config.yml
OpenINFbot Mar 27, 2024
b333ec5
Update _config.yml
OpenINFbot Mar 27, 2024
dbc48a4
Update Gemfile
OpenINFbot Mar 27, 2024
b7843c9
Update _config.yml
OpenINFbot Mar 27, 2024
82d51c3
Update _config.yml
OpenINFbot Mar 27, 2024
7794bc6
Update _includes/head.html
DerekNonGeneric Mar 27, 2024
d1b21c8
Update _includes/head.html
DerekNonGeneric Mar 27, 2024
019e7b7
Update _config.yml
DerekNonGeneric Mar 27, 2024
c815a07
Update _config.yml
DerekNonGeneric Mar 27, 2024
366407f
Update _config.yml
OpenINFbot Mar 28, 2024
303bb17
Update _config.yml
DerekNonGeneric Mar 28, 2024
4feea9a
Merge remote-tracking branch 'upstream/live' into fix/doom-scrolling
DerekNonGeneric Mar 31, 2024
36cb3d9
Merge branch 'live' into fix/doom-scrolling
DerekNonGeneric Mar 31, 2024
8f30751
add links to sources
DerekNonGeneric Mar 31, 2024
fc9ad68
Update _config.yml
DerekNonGeneric Mar 31, 2024
4dbe803
Update Gemfile
OpenINFbot Mar 31, 2024
c8dcc3e
Apply suggestions from code review
OpenINFbot Mar 31, 2024
92143b9
Restyled by whitespace
restyled-commits Mar 31, 2024
d4f56e2
Delete _layouts/compress.html
OpenINFbot Apr 1, 2024
b579160
Merge branch 'live' into fix/doom-scrolling
OpenINFbot Apr 5, 2024
2e7bb7b
Merge branch 'live' into fix/doom-scrolling
OpenINFbot Apr 5, 2024
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
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Omakase Ruby styling for Rails
inherit_gem:
rubocop-rails-omakase: rubocop.yml
# Your own specialized rules go here
15 changes: 11 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@

source 'https://rubygems.org'

gem 'github-linguist', '~> 7.24'
gem 'rubocop', require: false
gem 'rubocop-rails-omakase', require: false, group: [ :development ]

gem 'jekyll', '~> 4.3.0'
gem 'kramdown-parser-gfm', '~> 1.1'
gem 'github-linguist'

gem 'jekyll'
gem 'kramdown-parser-gfm'

group :jekyll_plugins do
gem 'jekyll-redirect-from'
gem 'jekyll-relative-links'
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
# gem 'jekyll-asset-path', git: 'https://github.com/OpenINF/openinf-jekyll-asset-path-plugin'
# gem 'jekyll-assets', git: 'https://github.com/envygeeks/jekyll-assets'
# gem 'jekyll-paginate-v2'
# gem 'jekyll-auto-authors'
end
Expand All @@ -23,7 +30,7 @@ gem 'dotenv'

gem 'rb-inotify'

# Preparing for Ruby 3.4.0; these deps will no longer be present.
# Dig out bundled core deps as we prep to begin Ruby 3.4.0 support.
gem 'csv'
gem 'base64'
gem 'bigdecimal'
75 changes: 71 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.7)
cgi (0.4.1)
charlock_holmes (0.7.7)
colorator (1.1.0)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
csv (3.3.0)
dotenv (3.1.0)
drb (2.2.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
Expand Down Expand Up @@ -59,30 +72,76 @@ GEM
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.7.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
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)
mini_mime (1.1.5)
minitest (5.22.3)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.5)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rouge (4.2.1)
rubocop (1.62.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-minitest (0.35.0)
rubocop (>= 1.61, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-performance (1.20.2)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rails (2.24.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails-omakase (1.0.0)
rubocop
rubocop-minitest
rubocop-performance
rubocop-rails
ruby-progressbar (1.13.0)
rugged (1.7.2)
safe_yaml (1.0.5)
sass-embedded (1.74.1-aarch64-linux-android)
sass-embedded (1.72.0)
google-protobuf (>= 3.25, < 5.0)
rake (>= 13.0.0)
sass-embedded (1.72.0-aarch64-linux-android)
google-protobuf (>= 3.25, < 5.0)
sass-embedded (1.74.1-aarch64-linux-gnu)
google-protobuf (>= 3.25, < 5.0)
Expand Down Expand Up @@ -112,6 +171,8 @@ GEM
google-protobuf (>= 3.25, < 5.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webrick (1.8.1)
yaml-lint (0.1.2)
Expand All @@ -125,11 +186,13 @@ PLATFORMS
arm-linux-gnueabihf
arm-linux-musleabihf
arm64-darwin
ruby
x86-linux
x86-linux-android
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-android
x86_64-linux-gnu
x86_64-linux-musl
Expand All @@ -139,12 +202,16 @@ DEPENDENCIES
bigdecimal
csv
dotenv
github-linguist (~> 7.24)
jekyll (~> 4.3.0)
github-linguist
jekyll
jekyll-redirect-from
jekyll-relative-links
kramdown-parser-gfm (~> 1.1)
jekyll-seo-tag
jekyll-sitemap
kramdown-parser-gfm
rb-inotify
rubocop
rubocop-rails-omakase
webrick
yaml-lint

Expand Down
98 changes: 68 additions & 30 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,110 @@
# Welcome to Jekyll!

# This master configuration file contains global configurations and variable
# definitions that are meant for settings that affect the whole microsite with
# values that are expected to be set up once and that rarely need to be edited
# after that, which is why they are only read once at execution time.
#
# For technical reasons, changes made to this file are *NOT* reloaded
# automatically during automatic regeneration when using 'jekyll serve'. If
# you change this file, please restart the server process as changes are not
# loaded until the next execution.
#
# Note: Data Files _are_ included and reloaded during automatic regeneration.
#
# Site personalization settings accessed in templates via {{ site.myvariable }}.
---
title: OpenINF
email: [email protected]
description: >-
Aggregate, curate, disseminate, and apply information derived from diverse
sources.
email: [email protected]
description: Aggregate, curate, disseminate, and apply information derived from
diverse sources.
baseurl: ''
url: 'https://open.inf.is'
url: https://open.inf.is
twitter_username: OpenINF
github_username: OpenINF
repository: OpenINF/openinf.github.io

# Site build settings.
# Site build settings
markdown: kramdown
plugins:
- jekyll-redirect-from
- jekyll-relative-links
- jekyll-sitemap
- jekyll-seo-tag
# - jekyll-asset-path
# - jekyll-assets
compress_html:
clippings: all
comments:
- '<!-- '
- ' -->'
endings: all
ignore:
envs:
- local
blanklines: false
profile: false
startings:
- html
- head
- body

# Document collections.
## Content collections
# @see https://jekyllrb.com/docs/collections
collections_dir: collections

collections:
authors:
output: true
docs:
permalink: '/:collection/:path/'
permalink: :collection/:path
output: true
posts:
permalink: '/news/:year/:month/:day/:title/'
permalink: news/:year/:month/:day/:title
output: true
defaults:
- scope:
path: ''
type: pages
values:
##
# @see https://github.com/OpenINF/openinf.github.io/blob/HEAD/_layouts/compress.html
layout: compress
locale: en
- scope:
path: _layouts
type: pages
values:
##
# @see https://github.com/OpenINF/openinf.github.io/blob/HEAD/_layouts/default.html
layout: default
- scope:
path: _docs
type: docs
values:
##
# @see https://github.com/OpenINF/openinf.github.io/blob/HEAD/_layouts/docs.html
layout: docs
editable: true
toc: true
breadcrumbs: true
body_classes:
- hide-butterbar
- scope:
path: _posts
type: posts
values:
##
# @see https://github.com/OpenINF/openinf.github.io/blob/HEAD/_layouts/news_item.html
layout: news_item
editable: true
toc: true
breadcrumbs: true
body_classes:
- hide-butterbar
sass:
sass_dir: _sass
style: compressed
load_paths:
- _includes/assets/scss

# Exclude from processing.
# Exclude from processing
exclude:
- AUTHORS
- build/
- CNAME
- Gemfile
- Gemfile.lock
- LICENSE
- node_modules/
- package.json
- pnpm-lock.json
- project-terms.txt
- AUTHORS
- CNAME
- LICENSE
- README.md
- tools/
- tmp/
- tools/
- vendor/
28 changes: 22 additions & 6 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
crossorigin="anonymous" />
<meta
name="description"
content="Aggregate, curate, disseminate, and apply information derived from diverse sources." />
content="{{ site.description }}" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
Expand Down Expand Up @@ -81,9 +81,25 @@
{{ styles | scssify }}
{% endif %}
</style>
<link rel="canonical" href="." />
<title>
{% if page.class != 'home' %}{{ page.title }} &middot; {% endif %}{{
site.title }}
</title>
{% if page.custom_css %}{% for stylesheet_hotlink in page.custom_css -%}
<link rel="stylesheet" href="{{ stylesheet_hotlink }}">
{%- endfor %}{% endif %}
<meta name="format-detection" content="telephone=no">
{% if post.status == 'unpublished' or page.status == 'unpublished' %}
<meta name="robots" content="noindex, nofollow, noarchive">
{% endif %}
<title>{% if page.permalink == '/' %}{{ site.title }}{% else %}{{ page.title }} &middot; {{ site.title }}{% endif %}</title>
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
{% if page.permalink == '/' %}
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"license": "https://open.inf.is/license",
"about": {
"description": "{{ site.description }}"
}
}
</script>
{% endif %}
</head>
16 changes: 9 additions & 7 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
editable: false
layout: compress
---

<!doctype html>
<html lang="en">
{%- include head.html -%}
<!DOCTYPE html>
<html {% if page.locale.is_rtl %}dir="rtl" lang="ar"{% else %}dir="ltr" lang="{{ page.locale }}"{% endif %}>
{%- include head.html -%}

<body class="{{ page.class }}">
{%- include header.html -%} {{- content -}} {%- include footer.html -%}
</body>
{%- assign classes = page.body_classes | join: " " | where: 'page.body_classes', empty -%}

<body vocab="http://schema.org/" typeof="WebPage" id="top"{% if classes %} class="{{- classes -}}"{% endif %}>
{%- include header.html -%} {{- content -}} {%- include footer.html -%}
</body>
</html>
Loading