From 8ea91503c6c5a516cc4e739e49fad8e3b1cb5b5b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 17 Mar 2024 02:03:12 +0700 Subject: [PATCH] Posts interface --- Gemfile | 11 +++ Gemfile.lock | 134 +++++++++++++++++++++++++++++++ _config.yml | 1 + _config_dev.yml | 1 + _includes/meta.html | 4 +- _includes/navbar.html | 2 +- {img => _includes}/wellosoft.svg | 0 _layouts/post.html | 26 ++++++ _sass/base.scss | 4 + index.html | 10 +-- posts.html | 39 +++++++++ 11 files changed, 224 insertions(+), 8 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock rename {img => _includes}/wellosoft.svg (100%) create mode 100644 _layouts/post.html create mode 100644 posts.html diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..6ef1277 --- /dev/null +++ b/Gemfile @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +# gem "rails" + +gem "jekyll", "~> 4.3" + +gem "csv", "~> 3.2" +gem "base64", "~> 0.2.0" +gem "bigdecimal", "~> 3.1" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..aa770c6 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,134 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + base64 (0.2.0) + bigdecimal (3.1.7) + colorator (1.1.0) + concurrent-ruby (1.2.3) + csv (3.2.8) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.16.3) + forwardable-extended (2.6.0) + google-protobuf (4.26.0) + rake (>= 13) + google-protobuf (4.26.0-aarch64-linux) + rake (>= 13) + google-protobuf (4.26.0-arm64-darwin) + rake (>= 13) + google-protobuf (4.26.0-x86-linux) + rake (>= 13) + google-protobuf (4.26.0-x86_64-darwin) + rake (>= 13) + google-protobuf (4.26.0-x86_64-linux) + rake (>= 13) + http_parser.rb (0.8.0) + i18n (1.14.4) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-sass-converter (3.0.0) + sass-embedded (~> 1.54) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (5.0.4) + rake (13.1.0) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.6) + rouge (4.2.0) + safe_yaml (1.0.5) + sass-embedded (1.72.0) + google-protobuf (>= 3.25, < 5.0) + rake (>= 13.0.0) + sass-embedded (1.72.0-aarch64-linux-android) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-aarch64-linux-gnu) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-aarch64-linux-musl) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-arm-linux-androideabi) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-arm-linux-gnueabihf) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-arm-linux-musleabihf) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-arm64-darwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86-linux-android) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86-linux-gnu) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86-linux-musl) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86_64-darwin) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86_64-linux-android) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86_64-linux-gnu) + google-protobuf (>= 3.25, < 5.0) + sass-embedded (1.72.0-x86_64-linux-musl) + google-protobuf (>= 3.25, < 5.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) + webrick (1.8.1) + +PLATFORMS + aarch64-linux + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnueabihf + arm-linux-musleabihf + arm64-darwin + ruby + x86-linux + x86-linux-android + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + base64 (~> 0.2.0) + bigdecimal (~> 3.1) + csv (~> 3.2) + jekyll (~> 4.3) + +BUNDLED WITH + 2.5.4 diff --git a/_config.yml b/_config.yml index 372ef32..66ce1dc 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,7 @@ sass: style: compressed img: https://res.cloudinary.com/wellosoft/image/upload/v1546833986/home/ +permalink: /:year/:title/ exclude: - CNAME - README.md diff --git a/_config_dev.yml b/_config_dev.yml index e21f7f5..a4cd20a 100644 --- a/_config_dev.yml +++ b/_config_dev.yml @@ -2,6 +2,7 @@ img: http://localhost:9000/home/ compress_html: ignore: envs: development +permalink: /:year/:title/ exclude: - CNAME - README.md diff --git a/_includes/meta.html b/_includes/meta.html index b620737..ffbe27b 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -1,10 +1,10 @@ - + - + diff --git a/_includes/navbar.html b/_includes/navbar.html index 0e3eca3..1ae5272 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,7 +1,7 @@