Skip to content

Commit

Permalink
Include image example in article template
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovid committed Jul 23, 2024
1 parent ff393cb commit e04932f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/article
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ sub template ( $title, $directory, $slug, $opt_for ) {
<!-- add HTML/markdown content here -->
<!-- example image
[% INCLUDE include/image.tt
align = 'right',
src = "/static/images/bed.jpg"
alt = "A slightly messy bed"
source = 'https://unsplash.com/photos/OZiflZqq0N0',
caption = "Make that bed!"
%]
-->
[%%- END %%]
END
}
Expand Down

0 comments on commit e04932f

Please sign in to comment.