diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 867d379..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*.gem
-.bundle
-.sass-cache
-_site
-Gemfile.lock
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_base.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_base.scssc
new file mode 100644
index 0000000..a4808e6
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_base.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_dark.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_dark.scssc
new file mode 100644
index 0000000..f80ff1d
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_dark.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_fonts.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_fonts.scssc
new file mode 100644
index 0000000..70560c6
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_fonts.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_layout.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_layout.scssc
new file mode 100644
index 0000000..3cdc079
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_layout.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_miscellaneous.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_miscellaneous.scssc
new file mode 100644
index 0000000..151eeba
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_miscellaneous.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_post.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_post.scssc
new file mode 100644
index 0000000..f6980b9
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_post.scssc differ
diff --git a/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_syntax.scssc b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_syntax.scssc
new file mode 100644
index 0000000..c065a9a
Binary files /dev/null and b/.sass-cache/86619ff212e9aa14fb08acc717900e7d9b190c3d/_syntax.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_base.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_base.scssc
new file mode 100644
index 0000000..1b2cb5b
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_base.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_dark.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_dark.scssc
new file mode 100644
index 0000000..0fe9166
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_dark.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_fonts.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_fonts.scssc
new file mode 100644
index 0000000..e927d2e
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_fonts.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_layout.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_layout.scssc
new file mode 100644
index 0000000..bb14d25
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_layout.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_miscellaneous.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_miscellaneous.scssc
new file mode 100644
index 0000000..a216598
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_miscellaneous.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_post.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_post.scssc
new file mode 100644
index 0000000..cb9a37a
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_post.scssc differ
diff --git a/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_syntax.scssc b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_syntax.scssc
new file mode 100644
index 0000000..b279a5b
Binary files /dev/null and b/.sass-cache/a28b70ffa7da60916248ddaa0e5956aa0b4fa593/_syntax.scssc differ
diff --git a/.sass-cache/d8f8e2d7794ba233dc975c25d0b156d5405bb87a/main.scssc b/.sass-cache/d8f8e2d7794ba233dc975c25d0b156d5405bb87a/main.scssc
new file mode 100644
index 0000000..6ae6f88
Binary files /dev/null and b/.sass-cache/d8f8e2d7794ba233dc975c25d0b156d5405bb87a/main.scssc differ
diff --git a/Gemfile b/Gemfile
index bb94df8..f540ee0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,34 @@
-# frozen_string_literal: true
-
source "https://rubygems.org"
-gemspec
+
+# Hello! This is where you manage which Jekyll version is used to run.
+# When you want to use a different version, change it below, save the
+# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
+#
+# bundle exec jekyll serve
+#
+# This will help ensure the proper Jekyll version is running.
+# Happy Jekylling!
+gem "jekyll", "~> 3.8.3"
+
+# This is the default theme for new Jekyll sites. You may change this to anything you like.
+# gem "minima", "~> 2.0"
+
+# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
+# uncomment the line below. To upgrade, run `bundle update github-pages`.
+# gem "github-pages", group: :jekyll_plugins
+
+# If you have any plugins, put them here!
+group :jekyll_plugins do
+ gem 'jekyll-feed', '~> 0.11.0'
+ gem 'jekyll-sitemap'
+ gem 'jekyll-sass-converter', '~> 1.5', '>= 1.5.2'
+ gem 'jekyll-compose'
+ gem 'jekyll-postfiles', '~> 3.0'
+ gem 'rouge', '3.3.0'
+end
+
+# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
+# gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
+
+# Performance-booster for watching directories on Windows
+# gem "wdm", "~> 0.1.0" if Gem.win_platform?
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..3c26de9
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,75 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ addressable (2.7.0)
+ public_suffix (>= 2.0.2, < 5.0)
+ colorator (1.1.0)
+ concurrent-ruby (1.1.5)
+ em-websocket (0.5.1)
+ eventmachine (>= 0.12.9)
+ http_parser.rb (~> 0.6.0)
+ eventmachine (1.2.7)
+ ffi (1.12.1)
+ forwardable-extended (2.6.0)
+ http_parser.rb (0.6.0)
+ i18n (0.9.5)
+ concurrent-ruby (~> 1.0)
+ jekyll (3.8.6)
+ addressable (~> 2.4)
+ colorator (~> 1.0)
+ em-websocket (~> 0.5)
+ i18n (~> 0.7)
+ jekyll-sass-converter (~> 1.0)
+ jekyll-watch (~> 2.0)
+ kramdown (~> 1.14)
+ liquid (~> 4.0)
+ mercenary (~> 0.3.3)
+ pathutil (~> 0.9)
+ rouge (>= 1.7, < 4)
+ safe_yaml (~> 1.0)
+ jekyll-compose (0.12.0)
+ jekyll (>= 3.7, < 5.0)
+ jekyll-feed (0.11.0)
+ jekyll (~> 3.3)
+ jekyll-postfiles (3.1.0)
+ jekyll (>= 3.8.6, < 5)
+ jekyll-sass-converter (1.5.2)
+ sass (~> 3.4)
+ jekyll-sitemap (1.4.0)
+ jekyll (>= 3.7, < 5.0)
+ jekyll-watch (2.2.1)
+ listen (~> 3.0)
+ kramdown (1.17.0)
+ liquid (4.0.3)
+ listen (3.2.1)
+ rb-fsevent (~> 0.10, >= 0.10.3)
+ rb-inotify (~> 0.9, >= 0.9.10)
+ mercenary (0.3.6)
+ pathutil (0.16.2)
+ forwardable-extended (~> 2.6)
+ public_suffix (4.0.3)
+ rb-fsevent (0.10.3)
+ rb-inotify (0.10.1)
+ ffi (~> 1.0)
+ rouge (3.3.0)
+ safe_yaml (1.0.5)
+ sass (3.7.4)
+ sass-listen (~> 4.0.0)
+ sass-listen (4.0.0)
+ rb-fsevent (~> 0.9, >= 0.9.4)
+ rb-inotify (~> 0.9, >= 0.9.7)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ jekyll (~> 3.8.3)
+ jekyll-compose
+ jekyll-feed (~> 0.11.0)
+ jekyll-postfiles (~> 3.0)
+ jekyll-sass-converter (~> 1.5, >= 1.5.2)
+ jekyll-sitemap
+ rouge (= 3.3.0)
+
+BUNDLED WITH
+ 2.0.2
diff --git a/LICENSE.txt b/LICENSE
similarity index 87%
rename from LICENSE.txt
rename to LICENSE
index ce9be25..88aa011 100644
--- a/LICENSE.txt
+++ b/LICENSE
@@ -1,6 +1,6 @@
-The MIT License (MIT)
+MIT License
-Copyright (c) 2019 piharpi
+Copyright (c) 2019 Mahendrata Harpi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 4e78a35..9a1ea94 100644
--- a/README.md
+++ b/README.md
@@ -1,52 +1,24 @@
-# bangsring
-
-Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
-
-To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
-
-TODO: Delete this and the text above, and describe your gem
+# Klisé
+Klisé is minimalist Jekyll theme for running a personal site and blog running on Jekyll, Ruby, Netlify, Now.sh.
## Installation
-Add this line to your Jekyll site's `Gemfile`:
+Run local server:
-```ruby
-gem "bangsring"
+```bash
+git clone https://github.com/piharpi/jekyll-klise.git
+cd jekyll-klise
+bundle install
+bundel exec jekyll serve
```
-And add this line to your Jekyll site's `_config.yml`:
-
-```yaml
-theme: bangsring
-```
-
-And then execute:
-
- $ bundle
-
-Or install it yourself as:
-
- $ gem install bangsring
-
-## Usage
-
-TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
+Navigate to `localhost:4000`.
## Contributing
-Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
-
-## Development
-
-To set up your environment to develop this theme, run `bundle install`.
-
-Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
-
-When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
-To add a custom directory to your theme-gem, please edit the regexp in `bangsring.gemspec` accordingly.
+If you see any typos or formatting errors in a post, or any other issue that needs to be addressed, please do not hesitate to open a pull request and fix it!
## License
-The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
-
+This project is open source and available under the [MIT License](LICENSE).
diff --git a/_config.yml b/_config.yml
index 69d765d..4125455 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,25 +1,30 @@
# Site settings
-title: Mahendrata Harpi 🇮🇩
+title: Klise Theme
description: >-
- this blog is place where i'm writing about web technology
- what i like and as journal for documentation things what i learned, meet me @github.
+ He's writing in Bahasa about web technology and experience as a journal
+ for documentation things that he learned, meet him @github.
lang: en-US
timezone: Asia/Jakarta
-icon: "favicon.ico"
+image: assets/img/ogp.png # This image used for Open Graph more info https://ogp.me/
+repo: https://github.com/piharpi/mahendrata.now.sh
+mode: dark # default theme "dark" | "light"
-# User settings
+# Profile settings
author:
- name: Mahendrata Harpi
- username: piharpi
- email: justharpi@gmail.com
- avatar: "/assets/img/avatar.jpg"
+ name: Klisé Theme
+ bio: >-
+ He's writing in Bahasa about web technology and experience as a journal
+ for documentation things that he learned, meet him @github.
+ username: username
+ email: your-email@email.com
+ avatar: /assets/img/avatar.jpg
# Url settings
-url: https://piharpi.com
-baseurl: ""
-permalink: blog/:categories/:title/
-google_analytics: UA-105586262-1
-fb_appid: ""
+url: "https://klise.now.sh"
+baseurl:
+permalink: /:title/
+google_analytics:
+fb_appid:
# Collection setting
collections:
@@ -67,7 +72,6 @@ exclude:
- CHANGELOG.md
- README.md
- node_modules
- - bangsring.gemspec
- CODE_OF_CONDUCT.md
# Plugins
@@ -75,3 +79,4 @@ plugins:
- jekyll-feed
- jekyll-sass-converter
- jekyll-sitemap
+ - jekyll-postfiles
diff --git a/_data/menus.yml b/_data/menus.yml
index cfe6a56..40eb273 100644
--- a/_data/menus.yml
+++ b/_data/menus.yml
@@ -1,8 +1,16 @@
-- title: Home
+- title: home
url: /
+ external: false
-- title: About
+- title: about
url: /about/
+ external: false
-- title: RSS
- url: /feed.xml/
+- title: notes
+ url: /notes/
+ external: false # set true if you using external link, see bellow
+
+# Example:
+# - title: github
+# url: https://github.com/piharpi/jekyll-klise
+# external: true
diff --git a/_includes/anchor_headings.html b/_includes/anchor_headings.html
new file mode 100644
index 0000000..7a56b16
--- /dev/null
+++ b/_includes/anchor_headings.html
@@ -0,0 +1,105 @@
+{% capture headingsWorkspace %}
+ {% comment %}
+ Version 1.0.4
+ https://github.com/allejo/jekyll-anchor-headings
+
+ "Be the pull request you wish to see in the world." ~Ben Balter
+
+ Usage:
+ {% include anchor_headings.html html=content %}
+
+ Parameters:
+ * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
+
+ Optional Parameters:
+ * beforeHeading (bool) : false - Set to true if the anchor should be placed _before_ the heading's content
+ * anchorAttrs (string) : '' - Any custom HTML attributes that will be added to the `` tag; you may NOT use `href`, `class` or `title`
+ * anchorBody (string) : '' - The content that will be placed inside the anchor; the `%heading%` placeholder is available
+ * anchorClass (string) : '' - The class(es) that will be used for each anchor. Separate multiple classes with a space
+ * anchorTitle (string) : '' - The `title` attribute that will be used for anchors
+ * h_min (int) : 1 - The minimum header level to build an anchor for; any header lower than this value will be ignored
+ * h_max (int) : 6 - The maximum header level to build an anchor for; any header greater than this value will be ignored
+ * bodyPrefix (string) : '' - Anything that should be inserted inside of the heading tag _before_ its anchor and content
+ * bodySuffix (string) : '' - Anything that should be inserted inside of the heading tag _after_ its anchor and content
+
+ Output:
+ The original HTML with the addition of anchors inside of all of the h1-h6 headings.
+ {% endcomment %}
+
+ {% assign minHeader = include.h_min | default: 1 %}
+ {% assign maxHeader = include.h_max | default: 6 %}
+ {% assign beforeHeading = include.beforeHeading %}
+ {% assign nodes = include.html | split: '
+ {% if headerLevel == 0 %}
+ {% if nextChar != '<' and nextChar != '' %}
+ {% capture node %}' | first }}>{% endcapture %}
+ {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
+
+
+ {% capture anchor %}{% endcapture %}
+
+ {% if html_id and headerLevel >= minHeader and headerLevel <= maxHeader %}
+ {% capture anchor %}href="#{{ html_id }}"{% endcapture %}
+
+ {% if include.anchorClass %}
+ {% capture anchor %}{{ anchor }} class="{{ include.anchorClass }}"{% endcapture %}
+ {% endif %}
+
+ {% if include.anchorTitle %}
+ {% capture anchor %}{{ anchor }} title="{{ include.anchorTitle | replace: '%heading%', header }}"{% endcapture %}
+ {% endif %}
+
+ {% if include.anchorAttrs %}
+ {% capture anchor %}{{ anchor }} {{ include.anchorAttrs }}{% endcapture %}
+ {% endif %}
+
+ {% capture anchor %}{{ include.anchorBody | replace: '%heading%', header | default: '' }}{% endcapture %}
+
+
+ {% if beforeHeading %}
+ {% capture anchor %}{{ anchor }} {% endcapture %}
+ {% else %}
+ {% capture anchor %} {{ anchor }}{% endcapture %}
+ {% endif %}
+ {% endif %}
+
+ {% capture new_heading %}
+
+
+ {{ site.author.name }}
+ {{ site.author.bio }}
+
diff --git a/_includes/comments.html b/_includes/comments.html
index e97f140..c1bcb37 100644
--- a/_includes/comments.html
+++ b/_includes/comments.html
@@ -1 +1,10 @@
-
+
+
diff --git a/_includes/footer.html b/_includes/footer.html
index 5a9a8f2..d9a4f7a 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,12 +1,16 @@
+