Skip to content

Commit

Permalink
add linting tools and add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
gXkch committed Nov 8, 2024
1 parent 03acb41 commit b9e6f32
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Docker Image CI](https://github.com/theneedyguy/whatsinthebox/actions/workflows/build.yaml/badge.svg?event=push)](https://github.com/theneedyguy/whatsinthebox/actions/workflows/build.yaml)
[![Code style: djLint](https://img.shields.io/badge/html%20style-djLint-blue.svg)](https://github.com/djlint/djlint)

# What's in the Box (WITB)

__What's in the Box__ is a simple storage organization solution aimed to help you identify stuff that you've stored in physical locations such as boxes or containers.
Expand Down
3 changes: 2 additions & 1 deletion templates/boxes.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{template "header".}}
<!--djlint:on-->
{{template "header" . }}
<style>
.word-wrap {
word-wrap: break-word;
Expand Down
1 change: 1 addition & 0 deletions templates/content.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!--djlint:on-->
{{template "header" . }}
<style>
.word-wrap {
Expand Down
2 changes: 2 additions & 0 deletions tools/lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
djlint --reformat ../templates/*.tmpl --require-pragma --format-js --format-css --profile=golang

0 comments on commit b9e6f32

Please sign in to comment.