Skip to content

Update 'jekyll-socials' to '~> 0.0.7' #3535

@dfuchss

Description

@dfuchss

Have you checked that your issue isn't already filed?

  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • Yes, I have checked that this issue isn't already filed.

Bug description

Jekyll social is currently not able to handle relative links

How to reproduce the bug

Jekyll social is currently not able to handle relative links. This is already fixed in 0.0.7 of @george-gca , so we should update the dependency :)
Thus, you need to specify a full link in order to ensure al-folio works: https://github.com/dfuchss/fuchss.org/blob/e209d4a3b8dff32d237ad4fbf68886742e247856/_data/socials.yml#L14

Error messages and logs

jekyll-1  |   Liquid Exception: undefined local variable or method 'relative_url' for an instance of Jekyll::SocialLinksTag in /srv/jekyll/_layouts/about.liquid
jekyll-1  | bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
jekyll-1  | /usr/local/bundle/gems/jekyll-socials-0.0.6/lib/jekyll-socials.rb:219:in 'block in Jekyll::SocialLinksTag#render': undefined local variable or method 'relative_url' for an instance of Jekyll::SocialLinksTag (NameError)
jekyll-1  | 
jekyll-1  |                 img_code = "<svg><image xlink:href='#{logo_value | relative_url}' /></svg>"   

What operating system are you using?

Not applicable (e.g. you're using GitHub Pages or other hosting)

Where are you seeing the problem on?

Running locally with Docker (docker compose)

More info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions