A minimalist, responsive portfolio theme for Jekyll with Bootstrap.
See it in action on my own portfolio site.
Here are some steps to get you started:
- Clone this repo and cd into the directory:
git clone https://github.com/jamigibbs/phantom.git your-dir-name
cd your-dir-name
- Run Jekyll:
jekyll serve --watch
Don't have Jekyll yet? Get `er installed then!
- Visit in your browser at:
http://127.0.0.1:4000
Jekyll + Github pages is a marriage made in heaven. You can use your own custom domain name or use the default Github url (ie. http://username.github.io/repository) and not bother messing around with DNS settings.
Navigation
To activate a navigation bar in the header, set the global nav
variable to true in:
/_data/global.yml
Then add your navigation items in the /_data/nav.yml
file. For example:
main:
- { url: '/', text: 'Home' }
- { url: '/about', text: 'About' }
Contact Form
You can display a contact form within the modal window template. This template is already setup to use the Formspree email system. You'll just want to add your email address to the form in /_includes/contact-modal.html
.
Place the modal window template in any place you'd like the user to click for the contact form. The template will display a link to click for the contact form modal window:
{% include contact.html %}
{% include contact-modal.html %}
Animation Effects
Animations with CSS classes are baked into the theme. To animate a section or element, simply add the animation classes:
<div id="about-me" class="wow fadeIn">
I'm the coolest!
</div>
For a complete list of animations, see the animation list.
Pagination
By default, pagination on the home page will activate after 10 posts. You can change this within _config.yml
. You can add the pagination to other layouts with:
{% for post in paginator.posts %}
{% include post-content.html %}
{% endfor %}
{% include pagination.html %}
Read more about the pagination plugin.
-
Bootstrap, http://getbootstrap.com/, (C) 2011 - 2016 Twitter, Inc., MIT
-
Wow, https://github.com/matthieua/WOW, (C) 2014 - 2016 Matthieu Aussaguel , GPL
-
Animate.css, https://github.com/daneden/animate.css, (C) 2016 Daniel Eden, MIT