1

So I want my post titles to be

My awesome post | Sports or An awesome post | <sub name> etc

instead of

My awesome post | Phuks! or An awesome post | <site title>

Here Phuks!, I gather is being pulled from the config.py file's LEMA part.

# Site title
LEMA = "Phuks!"

In app\html\shared\layout.html I noticed the following lines, which I think would let me do this.

@{title()!!e} @{config.LEMA} \

However, even if I change this to @{title()!!e} {{sub.name}} \

The resulting post's page title is: My awesome post | {{sub.name}}

Tried @{title()!!e} @{sub.name} \ but that doesn't work either.

How do I achieve this?

So I want my post titles to be **My awesome post | Sports** or **An awesome post | <sub name>** etc instead of **My awesome post | Phuks!** or **An awesome post | <site title>** Here **Phuks!**, I gather is being pulled from the **config.py** file's **LEMA** part. ``` # Site title LEMA = "Phuks!" ``` In **app\html\shared\layout.html** I noticed the following lines, which I think would let me do this. `@{title()!!e} @{config.LEMA} \` However, even if I change this to `@{title()!!e} {{sub.name}} \` The resulting post's page title is: **My awesome post | {{sub.name}}** Tried `@{title()!!e} @{sub.name} \` but that doesn't work either. How do I achieve this?

4 comments

[–] pembo210 1 points (+1|-0)

We're already in the process of changing all these as well as a bunch of config info to make it easier to manage it all from an admin dashboard. We'll followup when we're done.

[–] curious [OP] 0 points (+0|-0)

That's awesome to know, good sir.

[–] pembo210 0 points (+0|-0) Edited

a lot of places - https://phab.phuks.co/rTH93f3d0bf60770918ee851c32dbf81f71c5bfbef4

edit: it's also going to make new installs faster and easier ;)

[–] curious [OP] 1 points (+1|-0)

Wow! You guys made all those changes since the 24th? It's hard to catch up with you...Jesus!

Please please share when the changes can be cloned. Would love to test it out :)