Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add image helper for easier image insertion in posts #572

Closed
wants to merge 4 commits into from
Closed

add image helper for easier image insertion in posts #572

wants to merge 4 commits into from

Commits on Oct 7, 2016

  1. Configuration menu
    Copy the full SHA
    eedf838 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2016

  1. Update image

    fa-ribeiro committed Nov 5, 2016
    Configuration menu
    Copy the full SHA
    37d4eb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    637e5d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2016

  1. Do not assume images would be placed in /assets/images/

    In order to add an image to a post, just use the following syntax:
    
    {% include image image_path="/full/path/to/MyPostImage.png" caption="The optional image caption" %}
    
    or
    
    {% include image image_path="https://example.com/images/MyPostImage.png" caption="The optional image caption" alt="The optional alt text" %}
    fa-ribeiro committed Nov 8, 2016
    Configuration menu
    Copy the full SHA
    da95259 View commit details
    Browse the repository at this point in the history