Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# env variables
.env
.env
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN go build -tags netgo -ldflags '-s -w' -o app

EXPOSE 8000

ENTRYPOINT [ "./app" ]
ENTRYPOINT [ "./app" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
This project is distributed under [MIT license](./LICENSE).
4 changes: 2 additions & 2 deletions contents/1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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).
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).
2 changes: 1 addition & 1 deletion templates/blog.templ
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ templ BlogPage(blogPosts []*models.BlogPost) {
</ul>
</div>
</body>
}
}
26 changes: 13 additions & 13 deletions templates/home.templ
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ templ Home() {
<h2 class="font-poppins text-2xl">A blog about programming tips and tricks to <span class="italic font-semibold">push</span> your productivity</h2>
</header>
<br>
<div class="flex flex-col items-center justify-center min-h-screen space-y-8 p-8 relative z-10">
<div class="h-[500px] w-full bg-white/20 rounded-2xl backdrop-filter backdrop-blur-lg border border-white/30 shadow-xl flex flex-col items-center justify-center text-center">
<h3 class="text-black font-bold text-2xl mb-4">About</h3>
<p class="text-gray-700/90 px-6"><span class="font-semibold font-comic text-pink-400">git-push-blog</span> is an open source blogging platform created by <a href="https://clelia.dev" class="text-pink-400 font-semibold underline">Clelia Astra Bertelli</a> in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.</p>
</div>
<div class="h-[500px] w-full bg-white/15 rounded-2xl backdrop-filter backdrop-blur-md border border-white/20 shadow-xl flex flex-col items-center justify-center text-center">
<h3 class="text-black font-bold text-2xl mb-4">Mission</h3>
<p class="text-gray-700/90 px-6 text-lg font-sans">The main mission of <span class="font-semibold font-comic text-pink-400">git-push-blog</span> is to foster an <span class="font-semibold text-pink-400">open</span>, <span class="font-semibold text-pink-400">inclusive</span> and <span class="font-semibold text-pink-400">collaborative</span> 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!</p>
</div>
<div class="flex flex-col items-center justify-center min-h-screen space-y-8 p-8 relative z-10">
<div class="h-[500px] w-full bg-white/20 rounded-2xl backdrop-filter backdrop-blur-lg border border-white/30 shadow-xl flex flex-col items-center justify-center text-center">
<h3 class="text-black font-bold text-2xl mb-4">About</h3>
<p class="text-gray-700/90 px-6"><span class="font-semibold font-comic text-pink-400">git-push-blog</span> is an open source blogging platform created by <a href="https://clelia.dev" class="text-pink-400 font-semibold underline">Clelia Astra Bertelli</a> in order to share coding tips and tricks to help everyone grow and learn in the awesome land of programming.</p>
</div>

<div class="h-[500px] w-full bg-white/15 rounded-2xl backdrop-filter backdrop-blur-md border border-white/20 shadow-xl flex flex-col items-center justify-center text-center">
<h3 class="text-black font-bold text-2xl mb-4">Mission</h3>
<p class="text-gray-700/90 px-6 text-lg font-sans">The main mission of <span class="font-semibold font-comic text-pink-400">git-push-blog</span> is to foster an <span class="font-semibold text-pink-400">open</span>, <span class="font-semibold text-pink-400">inclusive</span> and <span class="font-semibold text-pink-400">collaborative</span> 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!</p>
</div>
</div>
<br>
<div class="flex items-center justify-center mb-8 mt-8">
<div class="flex items-center justify-center mb-8 mt-8">
<a href="https://github.com/AstraBert/git-push-blog">
<button class="bg-pink-600 text-white font-semibold font-sans w-[300px] py-3 px-6 rounded-lg shadow-xl">
Star on GitHub
</button>
</a>
</a>
</div>
</body>
}
}
2 changes: 1 addition & 1 deletion templates/post.templ
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ templ Post(blog *models.BlogPost) {
@templ.Raw(blog.Content)
</div>
</body>
}
}
2 changes: 1 addition & 1 deletion test_files/1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ author: Clelia Astra Bertelli

**this is bold text**

_this is italics_
_this is italics_
2 changes: 1 addition & 1 deletion test_files/2.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ import "fmt"
func main() {
fmt.Println("Hello world!")
}
```
```
2 changes: 1 addition & 1 deletion test_files/2.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This file should be skipped because it is not markdown
This file should be skipped because it is not markdown
2 changes: 1 addition & 1 deletion test_files/file.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
This file should be skipped
This file should be skipped
Loading