1
0
Fork 0
owenryan.us/README.md

55 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2023-05-16 03:59:18 +00:00
# Homepage
This repository contains all the code that I use to host my website. Pages are written in markdown and are rendered to
static HTML using Jekyll and a custom Bootstrap theme that I created.
2024-04-17 20:58:49 +00:00
## Bundled dependencies
- [Bootstrap](https://github.com/twbs/bootstrap) (MIT)
- [compress.html](https://github.com/penibelst/jekyll-compress-html) (MIT)
2023-05-16 03:59:18 +00:00
## Installing dependencies
Based on the [Jekyll quick start guide](https://jekyllrb.com/docs/)
**Note:** Make sure Ruby and RubyGems are installed
1. Install the jekyll and bundler gem packages
```shell
gem install jekyll bundler
```
2. Install site dependencies
**Make sure you are in the root directory of the git repository**
```shell
bundle install
```
## Building the static site
Static HTML and CSS files can be built using the following command.
```shell
bundle exec jekyll build
```
All static files should now be in the ```site/``` directory.
## Important note:
The static site's root is ``_site/``. Everything outside of that is processed by Jekyll and placed in `_site/`.
**Note:** Some of the final code in ``_site`` may not have proper indentation, and some comments might have been
removed.
## Sources I used in a bunch of places
- [W3Schools](https://www.w3schools.com/)
- [MDN](https://developer.mozilla.org/en-US/)
- [Bootstrap Docs](https://getbootstrap.com/docs/5.3/getting-started/introduction/)
- [Bootstrap Examples](https://getbootstrap.com/docs/5.3/examples/)
- [Jekyll Documentation](https://jekyllrb.com/docs/)
- [Liquid Documentation](https://shopify.github.io/liquid/)
- [SASS Documentation](https://sass-lang.com/guide)