How do I activate Smartypants?

I don’t have a config folder in my /site/. I tried creating the file and path manually, but this broke my html.

Are the docs outdated? I’ve only been using Kirby for a couple weeks.

No, the docs are not outdated, if the file does not exist, you need to create it in the correct path, /site/config/config.php. But please post what you tried, maybe there is a syntax error in the file.

Thanks! That info would be good to have in that doc I linked above.

After some digging I discovered I made 2 changes at once. Causing me to think the error was due to the config, and not the other change I made. Sorry about that.

My issue was the finicky syntax of the content files. I haven’t started building a custom panel yet, so I’m just editing the txt-files for now.

I discovered you can’t start a block of text on the next line if the property is a subproperty. So this is illegal:

Info:
- 
  Image: image.jpg
  Text:
  Lorem Ipsum: dolor sit amet.
- 
  1. The paragraph needs to start on the same line as the property, right after the colon.
  2. You need quotes if you have special characters such as a colon in the paragraph text itself.

This is not the case if the property is a main property. So this works afaict:

Title: Project name
----
Description:
Lorem Ipsum: dolor sit amet.
----

Which makes sense, because subproperties are demarked by a new line and main properties are demarked by [edit] four dashes.

But then how can we have multiple paragraphs in a subproperty?

  1. Fields are separated using 4 dashes, not three, so
Title: Sky

----

Cover: - file://9APZDUNsDTbHMMTZ

----

Headline: 

----

Subheadline: Stars and the universe and so on

Multiple paragraphy in a structure:

Event-builder: 

- 
  text: |
    bla bla bla
    
    bla bla bla.
  otherField: some more text
- 
  text: |

Single line paragraph

  text: >
    bla bla bla