Compare commits

...

2 commits

Author SHA1 Message Date
37e80e6c96
ditch webpack
All checks were successful
/ build (push) Successful in 9s
2024-07-06 00:26:49 -07:00
e2f220d4bb
css 2024-07-06 00:20:25 -07:00
11 changed files with 22 additions and 12 deletions

View file

@ -11,13 +11,15 @@ jobs:
ruby-version: '3.2.2' # Not needed with a .ruby-version file ruby-version: '3.2.2' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems cache-version: 0 # Increment this number if you need to re-download cached gems
- uses: actions/setup-node@v4 # - uses: actions/setup-node@v4
with: # with:
node-version: 22 # node-version: 22
cache: 'npm' # cache: 'npm'
- name: Install node dependencies # - name: Install node dependencies
run: npm install # run: npm install
# - name: Build
# run: npm run build
- name: Build - name: Build
run: npm run build run: bundle exec jekyll build
- name: Copy - name: Copy
run: cp -r dist/* /pages/ run: cp -r dist/* /pages/

2
.gitignore vendored
View file

@ -130,4 +130,4 @@ dist
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*
assets #assets

View file

@ -30,8 +30,8 @@ github_username: sneakers-the-rat
# directories # directories
source: ./src source: ./src
destination: ./dist destination: ./dist
keep_files: # keep_files:
- assets # Build settings # - assets # Build settings
#theme: minima #theme: minima
plugins: plugins:
- jekyll-feed - jekyll-feed

View file

@ -2,5 +2,6 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
<title>{{ page.title }}</title> <title>{{ page.title }}</title>

View file

@ -1,8 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" prefix="foaf: http://xmlns.com/foaf/0.1/"><head><script defer src="/assets/app.bundle.js"></script></head> <html lang="en" prefix="foaf: http://xmlns.com/foaf/0.1/"><head>
{% include head.html %} {% include head.html %}
</head>
<body> <body>
{% if page.navigation %} {% if page.navigation %}

View file

@ -1,6 +1,7 @@
body { body {
width: 100%; width: 100%;
height: 100% height: 100%;
background-color: #ff0000;
} }
#container { #container {

4
src/assets/css/main.scss Normal file
View file

@ -0,0 +1,4 @@
---
---
@import "index";