BlankOn News Website, providing news to the community.
- Halaman Menjadi Sponsor? - Translate | disable menu (done)
- Halaman Menjadi Mitra? - Translate | disable menu (done)
-
Create a new markdown file in
_posts
directory. File name should followyyyy-mm-dd-title.md
format. For example,2020-02-27-my-first-post.md
. You can start by clicking this link. -
Please use an illustration image with at least 1153x505px size. It should be placed as well in its own directory named with the date format
yyyy-mm-dd
in/assets/posts
. For example:/assets/posts/2020-12/boni.png
. If you need help with creating some approriate image feel free to ask in Tim Kesenian. -
Write content. You can start with the following template:
--- author: boni editor: verbeek date: 2020-12-27 19:27:17+00:00 layout: post license: CC-BY-SA-3.0 title: My First Post image: /assets/posts/2020-12/omw.png categories: - berita tags: - infra --- Write you post in Markdown and HTML...
The date and time you set here, in the header, will be the date and time your article, once merged, will be published and available on blankon.id/berita. If you set the current day's date, be aware that there might be up to 2 hours delay between the time the PR got accepted and the time it actually gets picked up by the server.
-
Save the file and create a pull request. You can find the button at page bottom.
In order to run bundle
the two following addional packages are needed: 'rubygem(bundler)' ruby-devel
.
bundle install --path vendor/bundle
bundle exec jekyll build
Resulting site will be in _site
directory.
bundle install --path vendor/bundle
bundle exec jekyll serve
Visit http://127.0.0.1:4000/ in your browser.
We are using the Jemoji plugin, which allows you to use GitHub like syntax for emojis in your blog posts.
For example, it's raining :cat:s and :dog:s!
, will be rendered as:
it's raining 🐱s and 🐶s!