Compare commits

...

2 Commits

Author SHA1 Message Date
97c33e454f Merge pull request 'Convert website to Jekyll static site generator' (#2) from resistbot/join.resist.is:jekyll-conversion into main
Reviewed-on: sparticus/join.resist.is#2
Reviewed-by: sparticus <sparticus@resist.is>
2025-08-27 03:08:52 +00:00
Jekyll Converter
bee872301d Convert site to Jekyll
- Add Jekyll configuration (_config.yml)
- Create default layout with proper HTML structure
- Extract CSS to separate file (assets/css/main.css)
- Convert index.html to Jekyll format (index.md)
- Move image to assets directory
- Add Gemfile for Jekyll dependencies
- Backup original index.html

The site now uses Jekyll static site generator while maintaining
the same visual appearance and functionality as the original.
2025-08-26 22:48:31 -04:00
7 changed files with 146 additions and 0 deletions

25
Gemfile Normal file
View File

@ -0,0 +1,25 @@
source "https://rubygems.org"
gem "jekyll", "~> 4.4"
gem "minima", "~> 2.5"
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "jekyll-sitemap"
gem "jekyll-seo-tag"
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", "< 3"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

36
_config.yml Normal file
View File

@ -0,0 +1,36 @@
# Site settings
title: Resist
description: United Interwebs Department of Internautics - Bureau of Decentralized Resistance
baseurl: ""
url: ""
# Build settings
markdown: kramdown
highlighter: rouge
permalink: pretty
# Exclude files from processing
exclude:
- README.md
- LICENSE
- Gemfile
- Gemfile.lock
# Collections
collections:
posts:
output: true
# Defaults
defaults:
- scope:
path: ""
type: "pages"
values:
layout: "default"
- scope:
path: ""
type: "posts"
values:
layout: "post"

16
_layouts/default.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }} - {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
</head>
<body>
<div class="main-container">
{{ content }}
</div>
</body>
</html>

45
assets/css/main.css Normal file
View File

@ -0,0 +1,45 @@
/* Main styles for resist.is */
body {
background-color: black;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
p {
color: white;
}
div {
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.main-container {
text-align: center;
}
.content-wrapper {
text-align: center;
}
.bold-text {
font-weight: bold;
margin: 0;
}
.no-margin {
margin: 0;
}
.link {
text-align: center;
color: royalblue;
text-decoration: none;
}
.link:hover {
text-decoration: underline;
}

BIN
assets/images/omegablk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

24
index.md Normal file
View File

@ -0,0 +1,24 @@
---
layout: default
title: Resist
description: United Interwebs Department of Internautics - Bureau of Decentralized Resistance
---
<div class="content-wrapper">
<img src="{{ '/assets/images/omegablk.png' | relative_url }}" alt="Omega Symbol">
<p class="bold-text">United Interwebs Department of Internautics:</p>
<p class="bold-text">Bureau of Decentralized Resistance</p>
<p class="no-margin">9 March 2025</p>
<p class="no-margin">For Immediate Release</p>
<p>Those we have elected to represent us and protect our constitution have failed us. Trump, alongside Musk and DOGE are ignoring the constitution and turning our country into a fascist oligarchy. Therefore, it falls to us, The People of the United States, to support and defend the constitution of the United States.</p>
<p>There is no more republican vs democrat, or liberal vs conservative. There is only the fascists and those that would stand against them.</p>
<p>This page serves as a gateway for new to the resistance. In the future there will be information on how to find and join various resistance groups. In the meantime, the Department of Internautics is openly recruiting and welcoming resisters of all backgrounds.</p>
<a href="https://bsky.app/profile/doi.timeto.resist.is" class="link">Find us on Bluesky</a><br>
<a href="https://matrix.to/#/#BureauOfDecentralizedResistance:weresist.is" class="link">Find us on Matrix</a>
</div>