+ {{ post.title | escape }} +
+— {{ post.excerpt | strip_html | normalize_whitespace | truncatewords: 15, '...' }}
+diff --git a/.gitignore b/.gitignore index 2ca8682..bbaa4fd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ _site/ .sass-cache/ .jekyll-cache/ .jekyll-metadata +README.md \ No newline at end of file diff --git a/404.md b/404.md new file mode 100644 index 0000000..d2b889f --- /dev/null +++ b/404.md @@ -0,0 +1,5 @@ +--- +title: You lost from my journey +permalink: "/404.html" +layout: 404 +--- \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..43b6a9b --- /dev/null +++ b/Gemfile @@ -0,0 +1,33 @@ +source "https://rubygems.org" + +# 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 '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..4f1cf13 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,72 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.5.2) + public_suffix (>= 2.0.2, < 4.0) + colorator (1.1.0) + concurrent-ruby (1.1.2) + em-websocket (0.5.1) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0.6.0) + eventmachine (1.2.7) + ffi (1.9.25) + forwardable-extended (2.6.0) + http_parser.rb (0.6.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) + jekyll (3.8.5) + 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-feed (0.11.0) + jekyll (~> 3.3) + jekyll-sass-converter (1.5.2) + sass (~> 3.4) + jekyll-sitemap (1.2.0) + jekyll (~> 3.3) + jekyll-watch (2.1.2) + listen (~> 3.0) + kramdown (1.17.0) + liquid (4.0.1) + listen (3.1.5) + rb-fsevent (~> 0.9, >= 0.9.4) + rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) + mercenary (0.3.6) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (3.0.3) + rb-fsevent (0.10.3) + rb-inotify (0.9.10) + ffi (>= 0.5.0, < 2) + rouge (3.3.0) + ruby_dep (1.5.0) + safe_yaml (1.0.4) + sass (3.6.0) + 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-feed (~> 0.11.0) + jekyll-sass-converter (~> 1.5, >= 1.5.2) + jekyll-sitemap + rouge (= 3.3.0) + tzinfo-data + +BUNDLED WITH + 1.17.1 diff --git a/README.md b/README.md index 99351c9..a5753df 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Bangsring - Adalah tema jekyll minimalis, ringan dan responsive, sempurna untuk Personal site juga blog anda, membuat diri anda seperti orang professional, bisa dijankan melalui [Github Pages](https://pages.github.com/), [Netlify](https://www.netlify.com/), maupun server sendiri, anda juga bisa menyesuaikan tema ini dengan mengedit kode sumber, cukup untuk perkenalanya, klik untuk [demo](https://piharpi.github.io/bangsring). +# Bangsring Jekyll Theme +Adalah tema jekyll minimalis, ringan dan responsive, sempurna untuk Personal site juga blog anda, membuat diri anda seperti orang professional, bisa dijankan melalui [Github Pages](https://pages.github.com/), [Netlify](https://www.netlify.com/), maupun server sendiri, anda juga bisa menyesuaikan tema ini dengan mengedit kode sumber, cukup untuk perkenalanya. @@ -10,7 +10,6 @@ GAMBAR RESPONSIVE(DESKTOP, TAB, MOBILE) DISINI ## Fitur Penting - Tentu responsive dialat apapun. - - Tampilan yang nyaman dibaca, tidak merusak matamu. - Compatible dengan browser tua i.e: Internet Explorer. - Compatible dengan Github Pages and Netlify. @@ -19,6 +18,8 @@ GAMBAR RESPONSIVE(DESKTOP, TAB, MOBILE) DISINI - Commenting support powered by Disqus(optional). - Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data +## Demo + ## Installation @@ -31,37 +32,49 @@ Directory Structure bangsring ├── _data # data files for customizing the theme | ├── menus.yml # navigation links -| └── projects.yml # list projects +| └── projects.yml # list your projects +├── _drafts # drafts folder ├── _includes -| ├── analytics-providers # snippets for analytics (Google and custom) -| ├── comments-providers # snippets for comments -| ├── toc # table of contents helper -| └── ... +| ├── blog.html # snippets for analytics (Google and custom) +| ├── cover.html # snippets for comments +| ├── disqus_comment.html # snippets for comments +| ├── footer.html # snippets for comments +| ├── head.html # snippets for comments +| ├── header.html # snippets for comments +| ├── pagination.html # snippets for comments +| ├── post-nav.html # snippets for comments +| ├── tags.html # snippets for comments +| └── tips.html # snippet o ├── _layouts -| ├── page.html # tag/category archive for Jekyll Archives plugin -| ├── blog.html # archive base -| ├── tags.html # archive listing posts grouped by tags -| └── category.html # splash page +| ├── 404.html # tag/category archive for Jekyll Archives plugin +| ├── compress.html # archive base +| ├── default.html # archive base +| ├── home.html # archive base +| ├── page.html # archive base +| └── post.html # splash page ├── _sass # SCSS partials ├── assets | ├── css | | └── style.scss # main stylesheet, loads SCSS partials from _sass | ├── image # image assets for posts/pages/collections/etc. -| | ├── posts # -| | ├── logo.jpg +| | ├── posts +| | | ├── blog +| | | └── tips # main stylesheet, loads SCSS partials from _sass +| | └── avatar.png # main stylesheet, loads SCSS partials from _sass | ├── js -| | ├── plugins # jQuery plugins -| | ├── vendor # vendor scripts -| | ├── _main.js # plugin settings and other scripts to load after jQuery -| | └── main.min.js # optimized and concatenated script file loaded before +| | ├── disqus.js # plugin settings and other scripts to load after jQuery +| | └── galite.js # optimized and concatenated script file loaded before ├── _config.yml # site configuration ├── Gemfile # gem file dependencies -├── index.html # paginated home page showing recent posts +├── 404.md # paginated home page showing recent posts +├── about.md # paginated home page showing recent posts +├── blog.md # paginated home page showing recent posts +├── index.md # paginated home page showing recent posts +├── tags.md # paginated home page showing recent posts +├── tips.md # paginated home page showing recent posts └── package.json # NPM build scripts ``` - - ## Berkontribusi Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first. @@ -84,19 +97,4 @@ Theme documentation and demo pages can be found in the [`/docs`](https://github. ## License -MIT License - -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 in the Software without restriction, including without limitation the rights 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 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. \ No newline at end of file +MIT License \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..644c2e0 --- /dev/null +++ b/_config.yml @@ -0,0 +1,72 @@ +# Site settings +title: Leah Rutherford +projects: true # false to hide my work +description: >- + Turpis egestas integer eget aliquet nibh praesent tristique magna sit amet + purus gravida quis blandit turpis cursus in hac habitasse platea dictumst quisque sagittis. +lang: en-US +timezone: Asia/Jakarta +icon: /favicon.ico + +# User settings +author: + name: Leah Rutherford + username: piharpi + email: justharpi@gmail.com + avatar: /assets/img/avatar.png + +# Url settings +url: https://piharpi.github.io/bangsring/ +baseurl: "" +permalink: /:title +google_analytics: UA-105586262-2 +fb_appid: 1806380839422028 + +collections_dir: _posts +collections: + blog: + output: true + permalink: /blog/:title + tips: + output: true + permalink: /tips/:title + +# Markdown settings +markdown: kramdown +syntax_highlighter: rouge + +# Default front matter +defaults: + - + scope: + path: "" # an empty string here means all files in the project + values: + layout: post + image: /assets/img/piharpi.png + +# Build settings +sass: + style: compressed +include: + - _redirects + - .htaccess +exclude: + - CNAME + - Gemfile + - Gemfile.lock + - LICENSE + - CHANGELOG.md + - README.md + - node_modules + +# jekyll-feed plugin settings +feed: + collections: + - blog + - tips + +# Plugins +plugins: + - jekyll-feed + - jekyll-sass-converter + - jekyll-sitemap diff --git a/_data/menus.yml b/_data/menus.yml new file mode 100644 index 0000000..8ae01d5 --- /dev/null +++ b/_data/menus.yml @@ -0,0 +1,14 @@ +- title : Home + url : / + +- title : Blog + url : /blog/ + +- title : Tips + url : /tips/ + +- title : About + url : /about/ + +- title : RSS + url : /feed/ \ No newline at end of file diff --git a/_data/projects.yml b/_data/projects.yml new file mode 100644 index 0000000..d947579 --- /dev/null +++ b/_data/projects.yml @@ -0,0 +1,22 @@ + + +- title : bangsring + url : https://github.com/piharpi/bangsring + description : 🏖 Bangsring is minimalist Jekyll theme for running a personal site and blog. + action : Star + +- title : ruby-book + url : https://piharpi.gitbook.io/ruby-in-bahasa/ + description : Ruby ebook in bahasa indonesia, free and open source. + action : Issue + +- title : osingdev.org + url : https://github.com/osingdev + description : A community of programmers @banyuwangi, to discuss and share knowledge. + action : Fork + + +- title : piharpi.com + url : https://piharpi.com/ + description : My personal site, this is what you are currently seeing, running on jekyll. + action : Star \ No newline at end of file diff --git a/_includes/blog.html b/_includes/blog.html new file mode 100644 index 0000000..65b8716 --- /dev/null +++ b/_includes/blog.html @@ -0,0 +1,15 @@ +
— {{ post.excerpt | strip_html | normalize_whitespace | truncatewords: 15, '...' }}
+{{ site.description }}
+