On the site https://marjolijnhof.nl/nl no image appears, while in the English counterpart (https://marjolijnhof.nl/en) the image is there. It’s been some time ago since working with Grav and I have tried a number of things, but nothing worked. Please help.
is it twig that includes that picture maybe? like if active language is english do this.
or does a widget create it? maybe a plugin? if so you can check its settings.
btw you may prefer not showing .nl/nl because it is already .nl with using settings at admin.
Hi Gin, thanks for replying. Perhaps I can give you FTP access and you can find it out for me? Would that be ok? I could also give you a zip of user/template files…
Hi, @TonHaarmans, here is setting you are looking for, check ‘pages/sidebar/about/about.md’
Yeah, I tried that, but it doesn’t work…
The markdown for about.md is this:
taxonomy:
category: sidebar
css_suffix: widget-about
surround: authorzo
image: marjolijnhof2.jpg
social:
- icon: instagram
url: “https://www.instagram.com/marjolijnhof/” - icon: linkedin
url: “https://www.linkedin.com/in/marjolijn-hof-82331052/”
published: false
The page will load but without the picture. If I choose to set published: true, the whole page refuses to load (HTTP error 400)
you may share user folder via wetransfer or some other thing here, i would look when i have time if noone look before me
ok Gin, what is your emailaddress?
i meant here, to this chat. you can paste the link of upload.
Apparently it doesn’t work via WeTransfer…
But you can download the zip from https://marjolijnhof.nl/user.zip
@TonHaarmans, The fresh PinPress skeleton is working as expected.
- Install PinPress skeleton
- Add multiple languages in system.yaml:
languages: supported: [nl, en]
- Copy /user/pages/sidebar/about/about.md and update filenames using language extensions:
user/pages/sidebar/about/ ├── about.en.md ├── about.nl.md └── about.png
- Copy /user/pages/01.blog/blog.md and update filenames using language extensions:
user/pages/01.blog/ ├── blog-header.jpg ├── blog.en.md ├── blog.nl.md ├── ... existing blog pages/
- Browse to your website and all is well.
For you to do:
- Start from fresh skeleton and my proposed changes:
- Test and commit to Git
- Add your own pages.
- Test and commit to Git if fine
- Add css to your liking.
- Test and commit to Git if fine
- Add extra plugins that are really needed.
- Test and commit to Git if fine
Btw. don’t make changes in Twig files of theme PinPress. Use your own child/inheriting theme.