bundle install
jekyll serve
For testing Obsidian's obsidian-github-publisher's regex,
run bin/test-obsidian-regex
. See obsidian_regex_publisher.test.js
for more
details.
To create a new post, you can create a new markdown file inside the _posts
directory by following the
recommended file structure.
The following is a post file with different configurations you can add as an example:
---
layout: post
title: Title of the Post
featured: true
tags: [tag-one, tag-two]
image: '/images/welcome.jpg'
---
To keep things more organized, add post images to /images/posts directory, and add page images to /images/pages directory.
To create a draft post, create the post file under the _drafts
directory.
For tags, try to not add space between two words, for example, Ruby on Rails
, could be something like (ruby-on-rails
, Ruby_on_Rails
, or
Ruby-on-Rails
).
To create a new page, just create a new markdown file inside the _pages
directory.
The following is the about.md
file that you can find as an example included in the theme with the configurations you can set.
---
layout: page
title: About
image: '/images/pages/about.jpeg'
---
Things you can change are: title
and image
path.
The navigation on the sidebar will automatically include all the links to the pages you have created.
Social media links included in _includes/footer.html
are using
Evil Icons, which contains very simple and clean icons.
Note that tags are not working with GitHub Pages, that's because the used jekyll-tagging plugin is not whitelisted by GitHub. To make this work, use Netlify.com for deployment.