From 184e120ef06b541e3845184302d7f9ea69e9b7e4 Mon Sep 17 00:00:00 2001 From: Quentin Rouland Date: Tue, 14 Jan 2025 20:45:08 +0100 Subject: [PATCH] First post --- _cobalt.yml | 12 ++++-- _includes/footer.liquid | 0 _includes/head.liquid | 7 ++++ _includes/header.liquid | 1 + _includes/navbar.liquid | 44 +++++++++++++++++++++ _layouts/default.liquid | 17 +++++--- _sass/base.scss | 1 + donate.md | 14 +++++++ drafts/.keep | 0 {posts => drafts}/cheatsheet-nmap.md | 0 {posts => drafts}/cheatsheet-tmux.md | 0 posts/writeup-box.md => drafts/writeup_1.md | 0 index.md | 11 +++--- posts.md | 9 +++++ posts/2025-01-14-news-1.md | 14 +++++++ posts/post-1.md | 10 ----- yarn.lock | 8 ++++ 17 files changed, 123 insertions(+), 25 deletions(-) create mode 100644 _includes/footer.liquid create mode 100644 _includes/head.liquid create mode 100644 _includes/header.liquid create mode 100644 _includes/navbar.liquid create mode 100644 donate.md create mode 100644 drafts/.keep rename {posts => drafts}/cheatsheet-nmap.md (100%) rename {posts => drafts}/cheatsheet-tmux.md (100%) rename posts/writeup-box.md => drafts/writeup_1.md (100%) create mode 100644 posts.md create mode 100644 posts/2025-01-14-news-1.md delete mode 100644 posts/post-1.md create mode 100644 yarn.lock diff --git a/_cobalt.yml b/_cobalt.yml index 1b5fc9e..09c15e5 100644 --- a/_cobalt.yml +++ b/_cobalt.yml @@ -1,10 +1,16 @@ - +source: "." +destination: _site site: - title: My Dev Blog - description: My Dev Blog + title: QRouland DevBlog + description: QRouland DevBlog base_url: http://blog.qrouland.com posts: + dir: "posts" rss: rss.xml + drafts_dir: "drafts" + default: + # For simpler drafts + layout: news.liquid assets: sass: style: Nested diff --git a/_includes/footer.liquid b/_includes/footer.liquid new file mode 100644 index 0000000..e69de29 diff --git a/_includes/head.liquid b/_includes/head.liquid new file mode 100644 index 0000000..f27a0ad --- /dev/null +++ b/_includes/head.liquid @@ -0,0 +1,7 @@ + + + +{{ page.title }} \ No newline at end of file diff --git a/_includes/header.liquid b/_includes/header.liquid new file mode 100644 index 0000000..e6b10b5 --- /dev/null +++ b/_includes/header.liquid @@ -0,0 +1 @@ +{% include "navbar.liquid" %} \ No newline at end of file diff --git a/_includes/navbar.liquid b/_includes/navbar.liquid new file mode 100644 index 0000000..cee1d26 --- /dev/null +++ b/_includes/navbar.liquid @@ -0,0 +1,44 @@ + \ No newline at end of file diff --git a/_layouts/default.liquid b/_layouts/default.liquid index 9ffaed4..edf75c6 100644 --- a/_layouts/default.liquid +++ b/_layouts/default.liquid @@ -1,13 +1,18 @@ - - {{ page.title }} + {% include "head.liquid" %} -
-

{{ page.title }}

-

{{ page.content }}

-

+
+ {% include "header.liquid" %} +
+
+ +
{{ page.content }}

+
+ diff --git a/_sass/base.scss b/_sass/base.scss index e69de29..8adad48 100644 --- a/_sass/base.scss +++ b/_sass/base.scss @@ -0,0 +1 @@ +//@use "bulma/sass"; \ No newline at end of file diff --git a/donate.md b/donate.md new file mode 100644 index 0000000..272dcd7 --- /dev/null +++ b/donate.md @@ -0,0 +1,14 @@ +--- +title: Donate +layout: default.liquid +permalink: /donate +--- + +## Donation + +Like some of my content and/or projects ? + +You can support and encourage it by buying me a coffee ;) + +- Ko-fi : [ko-fi.com/qrouland](https://ko-fi.com/qrouland) +- Bitcoin : [bc1qy00xqu90ncuyy6l3am5vxy7pv304de6evnfu46](bitcoin:bc1qy00xqu90ncuyy6l3am5vxy7pv304de6evnfu46) diff --git a/drafts/.keep b/drafts/.keep new file mode 100644 index 0000000..e69de29 diff --git a/posts/cheatsheet-nmap.md b/drafts/cheatsheet-nmap.md similarity index 100% rename from posts/cheatsheet-nmap.md rename to drafts/cheatsheet-nmap.md diff --git a/posts/cheatsheet-tmux.md b/drafts/cheatsheet-tmux.md similarity index 100% rename from posts/cheatsheet-tmux.md rename to drafts/cheatsheet-tmux.md diff --git a/posts/writeup-box.md b/drafts/writeup_1.md similarity index 100% rename from posts/writeup-box.md rename to drafts/writeup_1.md diff --git a/index.md b/index.md index 97e0a43..5126447 100644 --- a/index.md +++ b/index.md @@ -1,12 +1,11 @@ --- +title: Home layout: default.liquid +permalink: / --- -## Blog! -WIP ! +## Welcome to My Dev Blog! -{% for post in collections.posts.pages %} -#### {{post.title}} +This blog is dedicated to my software development activities, notes, and various related topics. -[{{ post.title }}]({{ post.permalink }}) -{% endfor %} +I hope this can provide some useful insights! :) diff --git a/posts.md b/posts.md new file mode 100644 index 0000000..3969f81 --- /dev/null +++ b/posts.md @@ -0,0 +1,9 @@ +--- +title: Posts +layout: default.liquid +permalink: /posts +--- + +{% for post in collections.posts.pages %} +### [{{ post.published_date | date: "%Y-%m-%d" }} - {{ post.title }}](/{{ post.permalink }}) +{% endfor %} diff --git a/posts/2025-01-14-news-1.md b/posts/2025-01-14-news-1.md new file mode 100644 index 0000000..1a06a8e --- /dev/null +++ b/posts/2025-01-14-news-1.md @@ -0,0 +1,14 @@ +--- +title: New Year, New Blog! +categories: +- News +tags: +- news +published_date: 2025-01-14 19:34:58.99198587 +0000 +layout: default.liquid +is_draft: false +permalink: /posts/news/1 +--- +## ✨ New Year, New Blog! ✨ + +This year, I’m kicking things off by starting a dev blog. I’ve found so much value in reading other dev blogs, so I figured it’s time I contribute and hopefully help someone out along the way. From tutorials to project write-ups and random thoughts on coding, I’ll to my best to be sharing some interesting stuff ! 💻💡 \ No newline at end of file diff --git a/posts/post-1.md b/posts/post-1.md deleted file mode 100644 index cf88955..0000000 --- a/posts/post-1.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: default.liquid - -title: First Post -is_draft: true ---- - -# This is our first Post! - -Welcome to the first post ever on cobalt.rs! diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..0665b62 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +bulma@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/bulma/-/bulma-1.0.3.tgz#313c4fec8c356158a1d8f665586957a0991e2892" + integrity sha512-9eVXBrXwlU337XUXBjIIq7i88A+tRbJYAjXQjT/21lwam+5tpvKF0R7dCesre9N+HV9c6pzCNEPKrtgvBBes2g==