Skip to content

Commit

Permalink
Add image caption example
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jul 19, 2017
1 parent 30f3400 commit 0f2229c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example-site/content-org/all-posts.org
Expand Up @@ -90,6 +90,15 @@ inside that div is valid HTML.
#+END_EXPORT
*** Link to image outside of standard Hugo locations
[[../src-images/copy-of-unicorn-logo.png]]
** Image captions
:PROPERTIES:
:EXPORT_DATE: 2017-07-19
:EXPORT_FILE_NAME: image-captions
:END:
Some text before image.
#+CAPTION: A unicorn!
[[/images/org-mode-unicorn-logo.png]]
Some more text, after image.
* Setting heading anchors
:PROPERTIES:
:EXPORT_FILE_NAME: setting-heading-anchors
Expand Down
10 changes: 10 additions & 0 deletions example-site/content/posts/image-captions.md
@@ -0,0 +1,10 @@
+++
title = "Image captions"
date = 2017-07-19
tags = ["image"]
draft = false
+++

Some text before image.

{{<figure src="/images/org-mode-unicorn-logo.png" caption="A unicorn!">}} Some more text, after image.

0 comments on commit 0f2229c

Please sign in to comment.