Ronen Agranat blog
Auto-deploy instructions
This blog is connected to Netlify. Netlify ops and hosting is free.
- Commit to
preview
to auto-deploy to preview endpoint. - Commit to
master
to auto-deploy to master endpoint
Website in production at https://ronenagranat.com and https://www.ronenagranat.com
Set up
- Install AWS command line tools:
brew install awscli && aws configure
- Source
commands.sh
in your.zshrc
file or similar
Custom Minima theme
This Jekyll blog uses a custom theme.
- Fork the theme from here: https://github.com/ronen-agranat/miniscule
How to test locally
bloglocal
miniscule
A slightly-less-minimal theme for Jekyll. Forked from the default minima theme
Screenshots
Installation
First, install Jekyll and create a new site following the instructions on the official webpage:
gem install bundler jekyll
jekyll new my-awesome-site
cd my-awesome-site
Then:
Add this line to your Jekyll site's Gemfile:
gem "miniscule"
And add this line to your Jekyll site:
theme: miniscule
And then execute:
$ bundle
to install and enable the theme.
Build and run
To build:
$ bundle exec jekyll build
To run:
$ bundle exec jekyll serve
Features
-
Cover photo
-
Profile picture
-
Twitter feed
Usage
General usage is much as the same as the minima
theme from which this theme is forked.
Please see the minima theme usage guide
Please also see the example blog for practical usage examples.
Profile photo
In _config.yml
:
logo: path/to/profile/image.jpg
Cover photo
In _config.yml
:
cover_image: path/to/cover/image.jpg
Twitter feed
In _config.yml
:
twitter_username: yourtwitterhandle
show_twitter_feed: true
Fork me
Shows a GitHub 'fork me' link in the top corner of the page, as well as a link in the footer.
In _config.yml
:
fork_me_url: https://example.com
show_fork_me: true
Build and publish
Normal build:
bundle install
bundle exec jekyll build
bundle exec jekyll serve
Should show sample blog.
Releasing gem:
Bump version in miniscule.gemspec
gem build miniscule.gemspec
gem push miniscule-XXX.gemspec
Note that the rubygems creds are required
License
The theme is available as open source under the terms of the MIT License.