This is the Jekyll source for http://www.devalias.net/
Feel free to create an issue/pull request for any typo's/bugs you might find :) <3
To get started quickly, use the following commands:
- Serve the site locally:
./bin/serve
or./bin/serve-drafts
(includes drafts) - Build the site:
./bin/build
- Deploy the site:
./bin/deploy
- Create a new draft:
jekyll draft "Name of Post"
- Serve drafts locally:
./bin/serve-drafts
orjekyll serve --incremental --drafts
- Promote a draft to a published post:
./bin/publish ./_drafts/post-name.md
orjekyll publish ./_drafts/post-name.md
- This will move the specified draft post to the
_posts
directory, making it a published post (though it won't be built or deployed automatically).
- This will move the specified draft post to the
- Unpublish a post:
jekyll unpublish ./_posts/post-name.md
- This will move the specified post from the
_posts
directory back to the_drafts
directory, making it a draft again.
- This will move the specified post from the
- Link to other posts:
[other post]({% post_url 2017-01-01-other-post %})
- Embed an image with jekyll-postfiles
- Create a folder under
_posts
named the same as your post's markdown file - Add images to that folder and use a relative markdown image tag:
![a title or something](foo.jpg)
- Create a folder under
- Embed a gist with jekyll-gist:
{% gist foo/12345678901234567890 %}
- Embed a tweet with jekyll-twitter-plugin:
{% twitter https://twitter.com/rubygems/status/518821243320287232 %}
- Check outdated dependencies:
./bin/outdated
- This will list all outdated dependencies for your project.