From: Ruben Beltran del Rio Date: Sun, 16 Apr 2023 14:40:33 +0000 (+0200) Subject: Convert to gemini X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/05a804d01b1fb83de89170c77799d1a43da925b1?ds=sidebyside Convert to gemini --- diff --git a/.build.yml b/.build.yml deleted file mode 100644 index c485f4c..0000000 --- a/.build.yml +++ /dev/null @@ -1,15 +0,0 @@ -image: alpine/latest -packages: - - build-base - - docker - - docker-compose -sources: - - git@git.sr.ht:~rbdr/unlimited.pizza -secrets: - - 21c73f87-a944-4560-a616-2dfd558c72da - - ed3ddefa-5b78-4085-ac46-bcc3c190caf0 -tasks: - - start-docker: sudo service docker start - - upload: | - cd unlimited.pizza - make ci diff --git a/.gitignore b/.gitignore index 566151d..e43b0f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1 @@ -*.DS_STORE -tmp/* -log/* -_site - -.jekyll-cache -.env +.DS_Store diff --git a/jekyll/.well-known/acme-challenge/AfRaP7YvvR4ISUt69iGntO_eSd_R3Xa0AmWMv5glAvs b/.well-known/acme-challenge/AfRaP7YvvR4ISUt69iGntO_eSd_R3Xa0AmWMv5glAvs similarity index 100% rename from jekyll/.well-known/acme-challenge/AfRaP7YvvR4ISUt69iGntO_eSd_R3Xa0AmWMv5glAvs rename to .well-known/acme-challenge/AfRaP7YvvR4ISUt69iGntO_eSd_R3Xa0AmWMv5glAvs diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 4ea0501..0000000 --- a/Dockerfile +++ /dev/null @@ -1,22 +0,0 @@ -FROM ruby:3.0-alpine - -RUN apk add --no-cache \ - build-base \ - python3 \ - py3-pip - -RUN pip3 install awscli -RUN rm -rf /var/cache/apk/* - -RUN bundle config --global frozen 1 - -WORKDIR /app - -COPY Gemfile.lock . -COPY Gemfile . -RUN bundle install - -COPY scripts/mime.types /etc/mime.types -COPY . . - -ENTRYPOINT ["jekyll"] diff --git a/Gemfile b/Gemfile deleted file mode 100644 index d344193..0000000 --- a/Gemfile +++ /dev/null @@ -1,6 +0,0 @@ -source "https://rubygems.org" - -#Blog stuff -gem 'jekyll' -gem 'rdiscount' -gem 'webrick' diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index d86fed8..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,77 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.8.1) - public_suffix (>= 2.0.2, < 6.0) - colorator (1.1.0) - concurrent-ruby (1.2.0) - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - eventmachine (1.2.7) - ffi (1.15.5) - forwardable-extended (2.6.0) - google-protobuf (3.21.12) - google-protobuf (3.21.12-x86_64-darwin) - http_parser.rb (0.8.0) - i18n (1.12.0) - concurrent-ruby (~> 1.0) - jekyll (4.3.2) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 1.0) - jekyll-sass-converter (>= 2.0, < 4.0) - jekyll-watch (~> 2.0) - kramdown (~> 2.3, >= 2.3.1) - kramdown-parser-gfm (~> 1.0) - liquid (~> 4.0) - mercenary (>= 0.3.6, < 0.5) - pathutil (~> 0.9) - rouge (>= 3.0, < 5.0) - safe_yaml (~> 1.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 (2.4.0) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.4.0) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (5.0.1) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rdiscount (2.2.7) - rexml (3.2.5) - rouge (4.0.1) - safe_yaml (1.0.5) - sass-embedded (1.57.1-arm64-darwin) - google-protobuf (~> 3.21) - sass-embedded (1.57.1-x86_64-darwin) - google-protobuf (~> 3.21) - terminal-table (3.0.2) - unicode-display_width (>= 1.1.1, < 3) - unicode-display_width (2.4.2) - webrick (1.8.1) - -PLATFORMS - arm64-darwin-22 - x86_64-darwin-21 - -DEPENDENCIES - jekyll - rdiscount - webrick - -BUNDLED WITH - 2.2.33 diff --git a/Makefile b/Makefile deleted file mode 100644 index f8a53cd..0000000 --- a/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -repo_full_name = $(shell git remote -v | grep origin | grep push | grep -o '[^:/]\+\/[^/]\+\s\+' | grep -o '[^:]\+\/[^. ]\+'| tr '[:upper:]' '[:lower:]') -git_sha = $(shell git rev-parse --short HEAD) - -environment = development - -default: preview - -serve: docker-build - docker-compose run unlimited.pizza serve --host 0.0.0.0 --config _config.yml,_config.$(environment).yml - -build: docker-build - docker-compose run unlimited.pizza build --config _config.yml,_config.$(environment).yml - -update-dependencies: - docker-compose run --entrypoint=bundle unlimited.pizza config --global frozen 0; bundle update - -docker-build: - docker-compose build - -upload: build - docker-compose run --entrypoint=/bin/sh unlimited.pizza ./scripts/upload.sh - -ci: - ./scripts/ci.sh diff --git a/_config.development.yml b/_config.development.yml deleted file mode 100644 index fb4db26..0000000 --- a/_config.development.yml +++ /dev/null @@ -1,2 +0,0 @@ -domain: limited.pizza -robots: Disallow diff --git a/_config.production.yml b/_config.production.yml deleted file mode 100644 index 03247f2..0000000 --- a/_config.production.yml +++ /dev/null @@ -1,2 +0,0 @@ -domain: unlimited.pizza -robots: Allow diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 60c662e..0000000 --- a/_config.yml +++ /dev/null @@ -1,5 +0,0 @@ -markdown: rdiscount -include: [".well-known"] -exclude: ["Gemfile", "Gemfile.lock"] -baseurl: / -source: jekyll diff --git a/jekyll/_layouts/default.html b/_layout.html similarity index 52% rename from jekyll/_layouts/default.html rename to _layout.html index b673dce..6ab0c4a 100644 --- a/jekyll/_layouts/default.html +++ b/_layout.html @@ -5,14 +5,14 @@ - + - Unlimited 🍕 {{ page.title }} + Unlimited 🍕 {{ title }} - - + + - +