You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I love the so-simple-theme! It is great work and I just upgraded to the newest version. Thanks a lot for providing this theme!
While upgrading I encountered a small issue: When using an image in a post being declared in the front matter section (as below), I will still have the stite.title and site.description beeing rendered:
image: /images/banner-xyz.png
This is because the masthead.html expected a notation for the image as follows:
image:
path: /images/banner-xyz.png
Though as of the documentation, the first one is also valid for the image declaration.
Something like below line 1 fixes this issue ({% unless page.image %}):
First of all, I love the
so-simple-theme
! It is great work and I just upgraded to the newest version. Thanks a lot for providing this theme!While upgrading I encountered a small issue: When using an image in a post being declared in the front matter section (as below), I will still have the stite.title and site.description beeing rendered:
image: /images/banner-xyz.png
This is because the
masthead.html
expected a notation for the image as follows:Though as of the documentation, the first one is also valid for the image declaration.
Something like below line
1
fixes this issue ({% unless page.image %}
):masthead.html
:I use Ruby version
ruby 2.6.0
on an Arch Linux distribution (4.20.0-arch1-1-ARCH
).Thanks again for the great work!
OT: One could also allow the
site.logo
to be "overwritten" with apage.logo
, which could look as follows:masthead.html
:The text was updated successfully, but these errors were encountered: