From 768989aaaaafda83f4f886c343e50453d38df3c5 Mon Sep 17 00:00:00 2001 From: Bangara Raju Kottedi Date: Mon, 8 Apr 2024 19:50:52 +0530 Subject: [PATCH] jekyll-admin changes --- .vscode/settings.json | 11 ----------- Gemfile | 7 ++++++- _config.yml | 11 ++++++++++- .../2023-07-22-self-hosted-commenting-system.md | 16 ++++++++-------- _posts/2024-04-03-solid-principles.md | 17 ++++++++--------- frontmatter.json | 9 +-------- 6 files changed, 33 insertions(+), 38 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e035ad4..f66ad92 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,4 @@ { "[markdown]": { - "editor.fontSize": 14, - "editor.lineHeight": 26, - "editor.wordWrap": "wordWrapColumn", - "editor.wordWrapColumn": 64, - "editor.lineNumbers": "off", - "editor.quickSuggestions": { - "comments": "off", - "strings": "off", - "other": "off" - }, - "editor.minimap.enabled": false } } \ No newline at end of file diff --git a/Gemfile b/Gemfile index a3eebd6..985679e 100644 --- a/Gemfile +++ b/Gemfile @@ -20,4 +20,9 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] # Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem # do not have a Java counterpart. -gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] \ No newline at end of file +gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby] + +gem 'jekyll-admin', group: :jekyll_plugins +# gem 'rackup' +gem 'rack', '~> 2.2' +#gem "rack", "= 2.2.4" # works \ No newline at end of file diff --git a/_config.yml b/_config.yml index c2152a4..607b464 100644 --- a/_config.yml +++ b/_config.yml @@ -214,4 +214,13 @@ future: true # Custom configuration custom-config: blog-services: - service_url: 'http://localhost:5000' \ No newline at end of file + service_url: 'http://localhost:5000' + + +jekyll_admin: + hidden_links: + - pages + - staticfiles + - datafiles + - configuration + homepage: "pages" \ No newline at end of file diff --git a/_posts/2023-07-22-self-hosted-commenting-system.md b/_posts/2023-07-22-self-hosted-commenting-system.md index e29509a..eec4f12 100644 --- a/_posts/2023-07-22-self-hosted-commenting-system.md +++ b/_posts/2023-07-22-self-hosted-commenting-system.md @@ -1,17 +1,17 @@ --- title: Self-Hosted Commenting System -date: 2023-07-23 0:00:00 +0530 +date: '2023-07-23 00:00:00 +0530' tags: - - privacy - - self-hosted - - comment-system - - remark42 +- privacy +- self-hosted +- comment-system +- remark42 categories: - - Open Source - - Services +- Open Source +- Services --- -## Privacy-focused lightweight commenting engine +## Privacy-focused lightweight commenting engines ## [Remark 42](https://remark42.com/) diff --git a/_posts/2024-04-03-solid-principles.md b/_posts/2024-04-03-solid-principles.md index a340772..1d1bea8 100644 --- a/_posts/2024-04-03-solid-principles.md +++ b/_posts/2024-04-03-solid-principles.md @@ -1,15 +1,14 @@ --- -title: SOLID Principles +title: SOLID Principless description: Solid Principles -date: 2024-04-03T16:10:57.476Z +date: '2024-04-03 16:10:57 +0000' tags: - - code quality - - oops +- code quality +- oops categories: - - Programming - - Principles -image: - path: /assets/img/posts/solid-principles.jpg +- Programming +- Principles +image: assets/img/posts/solid-principles.jpg slug: solid-principles --- @@ -208,4 +207,4 @@ class UserService { ``` This way, the UserService class depends on the Database abstraction, not on concrete implementations, fulfilling the Dependency Inversion Principle. -**Note:** I'm excited to share this post that's like a treasure chest filled with nuggets of wisdom from different articles I've come across. Some of the examples taken from these articles [1](https://dev.to/galwaycoder/the-solid-principles-in-software-design-explained-53n) [2](https://dev.to/lukeskw/solid-principles-theyre-rock-solid-for-good-reason-31hn). \ No newline at end of file +**Note:** I'm excited to share this post that's like a treasure chest filled with nuggets of wisdom from different articles I've come across. Some of the examples taken from these articles [1](https://dev.to/galwaycoder/the-solid-principles-in-software-design-explained-53n) [2](https://dev.to/lukeskw/solid-principles-theyre-rock-solid-for-good-reason-31hn). diff --git a/frontmatter.json b/frontmatter.json index 153d321..c3b07e4 100644 --- a/frontmatter.json +++ b/frontmatter.json @@ -36,14 +36,7 @@ { "title": "image", "name": "image", - "type": "fields", - "fields": [ - { - "title": "path", - "name": "path", - "type": "image" - } - ] + "type": "image" }, { "title": "disable-ty",