Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Theme PinPress: No 'about' on Dutch pages

Started by Ton Haarmans 1 year ago · 10 replies · 184 views
1 year ago

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.

1 year ago

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...

1 year ago

Hi, @TonHaarmans, here is setting you are looking for, check 'pages/sidebar/about/about.md'

1 year ago

The markdown for about.md is this:


taxonomy:
category: sidebar
css_suffix: widget-about
surround: authorzo
image: marjolijnhof2.jpg
social:


<!--
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-->

The page will load but without the picture. If I choose to set published: true, the whole page refuses to load (HTTP error 400)

1 year ago

you may share user folder via wetransfer or some other thing here, i would look when i have time if noone look before me

1 year ago

i meant here, to this chat. you can paste the link of upload.

1 year ago

@TonHaarmans, The fresh PinPress skeleton is working as expected.

  • Install PinPress skeleton
  • Add multiple languages in system.yaml:
    YAML
    languages:
    supported: [nl, en]
    
  • Copy /user/pages/sidebar/about/about.md and update filenames using language extensions:
    TXT
    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:
    TXT
    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.

last edited 04/28/25 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 8 months ago
6 96 8 months ago
Content & Markdown · by Jan L'Am, 1 year ago
4 147 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 61 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 255 1 year ago
Content & Markdown · by David Schad, 2 years ago
2 59 2 years ago