-
Notifications
You must be signed in to change notification settings - Fork 32
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
Globalize Gobierto Site HTML blocks (2/2) #547
Labels
Comments
Also, take into account that this is an initial step towards making some or all of the templates editable through the admin by any user. |
should we have {{ page_name "privacy-page" }} => Privacy and {{ page_url "privacy-page" }} => privacy-page so we can do
? |
Of course, I wanted the simplest version, but what you propose will make it more flexible without complicating the development very much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the road to Gobierto globalization, we need to make Site HTML blocks dynamically link to pages.
We are going to add Liquid to the three HTML blocks, so admins cuould use Liquid tags to refer to the CMS pages in a fancy way. For example, the following block:
When exists a
GobiertoCms::Page
with slugprivacy-page
and titlePrivacy
, will result in:The text was updated successfully, but these errors were encountered: