Skip to content

Commit

Permalink
design: fix indent in article
Browse files Browse the repository at this point in the history
  • Loading branch information
macrat committed Mar 23, 2024
1 parent 26ae6d5 commit a2a0939
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/blog/2024/02/golang-write-text-on-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ func main() {

// 画像をoutput.jpgとして保存する。
out, err := os.Create("output.jpg")
if err != nil {
log.Fatal(err)
}
if err != nil {
log.Fatal(err)
}
defer out.Close()
if err := jpeg.Encode(out, img, nil); err != nil {
log.Fatal(err)
Expand Down
1 change: 1 addition & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
color: #331d1d;
overflow-x: hidden;
font-family: 'Noto Sans JP', 'Noto Sans CJK JP', 'Noto Sans', 'Hiragino Sans', 'Meiryo', sans-serif;
tab-size: 4;
}
body {
display: flex;
Expand Down

0 comments on commit a2a0939

Please sign in to comment.