Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion #415

Open
JTorresConsulta opened this issue Oct 31, 2023 · 2 comments
Open

Suggestion #415

JTorresConsulta opened this issue Oct 31, 2023 · 2 comments

Comments

@JTorresConsulta
Copy link

Hi there,
Thank you for the good job
I think TypeMill is the faster and easy CMS currently.

It would be awesome if I could assign a style template to each separate page and post like Automad make. (I dont like Automad becasue is complicated, slow and heavy, but I recognize that the option of being able to assign independent style templates to each post separately is its great advantage)

I just wanted to suggest that with that option for my TypeMill it would be perfect :)

@trendschau
Copy link
Member

Sorry, for late answer (I was busy with version 2 of typemill) and thank you for your feedback!

Yes, you are right, everything has its downsides and upsides. Automad is probably a bit more complicated, but it indeed provides much more flexibility in design and layout than Typemill, that is the "selling point" of Automad I think.

I did not try yet, but it might be possible to assign different styles to individual pages without touching Typemill core. You can probably do that entirely on the theme level, but it requires to develop a new theme. The idea is:

  • Add a select-box to the meta-tab with some template names (you can easily do it in the yaml-file of a theme).
  • Then check the choosen template on each page and load the styles for the page accordingly.

I did not test it so far and (again) it requires the development of an individual theme, but that is the way to try it.

@JTorresConsulta
Copy link
Author

All right.
If is easy.... Will be great if TypeMill 2 will include
Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants