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

Make figure SC insert absolute links in the src attribute #4803

Closed
wants to merge 1 commit into from

Commits on May 30, 2018

  1. Make figure SC insert absolute links in the src attribute

    - Fixes gohugoio#4562
      - So now the figure shortcode inserted images work fine on list pages and on
        sites with baseURL containing subdir too.
    - Support figure SC src attribute with protocol or two leading slashes
    - Update the figure shortcode + src attr tests to use BaseURL
    - Add tests for all of the above.
    
    Other:
    
    - White-space change syncup between figure SC and tests
    - Consistency edits: {{.}} -> {{ . }}, {{else}} -> {{ else }}, and similar
    kaushalmodi committed May 30, 2018
    Configuration menu
    Copy the full SHA
    384b350 View commit details
    Browse the repository at this point in the history