Skip to content

brothersinvines/brothersinvines.github.io

Repository files navigation

Static Site Template

This repo is intended to be forked and work out the box


Getting Started

bundle install
bundle exec jekyll serve

Updating Theme

https://jamstackthemes.dev/theme/#ssg=jekyll


Overriding the theme

open $(bundle info --path $theme)

see here for more info

Features

  1. Simple Deployment to Digital Ocean to Setup a new site
  2. Allows you to choose a new jekyll theme
  3. Tests to ensure lighthouse scores are all good
  4. Tests for SSL
  5. Tests for SEO Tags
  6. Tests: PageSpeeds
  7. Github Actions for ease of deployment

Checklist

  1. Create a new org with the website name like
  2. brothersinvine
  3. create a new repo in this org in the format brothersinvine.github.io
  4. Read more info here: https://gist.github.com/TylerFisher/6127328

Troubleshooting

This may help: https://stackoverflow.com/questions/66608308/how-to-make-listen-gem-work-with-ruby-3-0-0p0


bundle update github-pages

TODO


Scraping

  1. Create new
  2. Create new home.html in _layouts/$project-name/home.html
  3. Set the file header of default home, i.e. _layouts/home.html, to
---
layout: brothers-in-vine/home
---
  1. Go to Site (without javascript)
  2. copy outer html of html tag
  3. Paste outer html in _layouts/$project-name/home.html
  4. Get all stylesheets saved in assets under assets/$project-name/
  5. Change their original href to {{ "/assets/$project-name/$filename.css" | relative_url }}
  6. Get all images and change their src to {{ "/assets/brothers-in-vine/images/$image-name" | relative_url }}
  7. Remove generator tags from home.html
  8. Serve localhost home page, and go through external css and save locally
  9. Serve localhost home page, and go through external js and save locally
  10. Fix broken links locally to icons
  11. there should be no requests with the search in the network tab -domain:127.0.0.1 -domain:fonts.googleapis.com -domain:fonts.gstatic.com
  12. Remove any google tracking (search for gtm in the home.html)
  13. removed unused assets eventually
  14. https://jekyllrb.com/docs/posts/
  15. MUST DALA THIS: https://aneejian.com/automated-jekyll-archives-github-pages/
  16. this for using plugins https://jekyllrb.com/docs/continuous-integration/github-actions/
  17. Jekyll CheatSheet
  18. Setting up a domain for the url: https://jinnabalu.medium.com/godaddy-domain-with-github-pages-62aed906d4ef

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published