From cd371ad4f9c33e90262fb1daeba86086236b9d62 Mon Sep 17 00:00:00 2001 From: "Clelia (Astra) Bertelli" Date: Sat, 20 Sep 2025 22:28:44 +0200 Subject: [PATCH] fix: linting --- .github/workflows/lint.yml | 2 +- .gitignore | 2 +- Dockerfile | 2 +- README.md | 2 +- contents/1.md | 4 ++-- templates/blog.templ | 2 +- templates/home.templ | 26 +++++++++++++------------- templates/post.templ | 2 +- test_files/1.md | 2 +- test_files/2.md | 2 +- test_files/2.txt | 2 +- test_files/file.md | 2 +- 12 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3058952..b5bcf87 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "1.24" - + - name: Install Templ CLI run: go install github.com/a-h/templ/cmd/templ@latest diff --git a/.gitignore b/.gitignore index a5e20a4..b722df1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ # env variables -.env \ No newline at end of file +.env diff --git a/Dockerfile b/Dockerfile index 34ea96e..e3a5663 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN go build -tags netgo -ldflags '-s -w' -o app EXPOSE 8000 -ENTRYPOINT [ "./app" ] \ No newline at end of file +ENTRYPOINT [ "./app" ] diff --git a/README.md b/README.md index 8154184..bee963a 100644 --- a/README.md +++ b/README.md @@ -53,4 +53,4 @@ Contributions (both for the blog and for the source code) are more than welcome! ## License -This project is distributed under [MIT license](./LICENSE). \ No newline at end of file +This project is distributed under [MIT license](./LICENSE). diff --git a/contents/1.md b/contents/1.md index 1d0741b..f62263b 100644 --- a/contents/1.md +++ b/contents/1.md @@ -10,7 +10,7 @@ Welcome to **git-push blog**, a space where developers can share their experienc This is an open space, everyone is welcome, every idea is valued and every contribution is celebrated! -As the creator of this platform, I have one wish for it - that brilliant minds will come and contribute with their own writings. +As the creator of this platform, I have one wish for it - that brilliant minds will come and contribute with their own writings. There is no deadline, no need for regular publishing: just fun and enjoyable time in writing and contributing. @@ -20,4 +20,4 @@ Once the PR is in, a review will come soon to approve your contribution! --- -Hopefully everything is clear and, if you wish to reach out to me, you can do so on [one of my social platforms](https://link.clelia.dev). \ No newline at end of file +Hopefully everything is clear and, if you wish to reach out to me, you can do so on [one of my social platforms](https://link.clelia.dev). diff --git a/templates/blog.templ b/templates/blog.templ index 42f1df3..4e10bc7 100644 --- a/templates/blog.templ +++ b/templates/blog.templ @@ -42,4 +42,4 @@ templ BlogPage(blogPosts []*models.BlogPost) { -} \ No newline at end of file +} diff --git a/templates/home.templ b/templates/home.templ index 06ae036..c4be002 100644 --- a/templates/home.templ +++ b/templates/home.templ @@ -31,24 +31,24 @@ templ Home() {

A blog about programming tips and tricks to push your productivity


-
-
-

About

-

git-push-blog is an open source blogging platform created by Clelia Astra Bertelli in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.

-
- -
-

Mission

-

The main mission of git-push-blog is to foster an open, inclusive and collaborative environment for everyone to share their learnings and their journey in code. This space is open to contributions by everyone, and seeks to help building an open source community of programmers who love to code and write about it!

-
+
+
+

About

+

git-push-blog is an open source blogging platform created by Clelia Astra Bertelli in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.

+
+ +
+

Mission

+

The main mission of git-push-blog is to foster an open, inclusive and collaborative environment for everyone to share their learnings and their journey in code. This space is open to contributions by everyone, and seeks to help building an open source community of programmers who love to code and write about it!

+

-
+ -} \ No newline at end of file +} diff --git a/templates/post.templ b/templates/post.templ index 8e13aa7..7a6d185 100644 --- a/templates/post.templ +++ b/templates/post.templ @@ -37,4 +37,4 @@ templ Post(blog *models.BlogPost) { @templ.Raw(blog.Content)
-} \ No newline at end of file +} diff --git a/test_files/1.md b/test_files/1.md index ef0d035..0061168 100644 --- a/test_files/1.md +++ b/test_files/1.md @@ -8,4 +8,4 @@ author: Clelia Astra Bertelli **this is bold text** -_this is italics_ \ No newline at end of file +_this is italics_ diff --git a/test_files/2.md b/test_files/2.md index 6c53ccd..4dd4328 100644 --- a/test_files/2.md +++ b/test_files/2.md @@ -14,4 +14,4 @@ import "fmt" func main() { fmt.Println("Hello world!") } -``` \ No newline at end of file +``` diff --git a/test_files/2.txt b/test_files/2.txt index 97ae477..d391e1f 100644 --- a/test_files/2.txt +++ b/test_files/2.txt @@ -1 +1 @@ -This file should be skipped because it is not markdown \ No newline at end of file +This file should be skipped because it is not markdown diff --git a/test_files/file.md b/test_files/file.md index e268de1..4cb5824 100644 --- a/test_files/file.md +++ b/test_files/file.md @@ -1 +1 @@ -This file should be skipped \ No newline at end of file +This file should be skipped