You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for working on your assigned website pages. If you have any issues with Netlify CMS, please let me know. FYI I have had enough problems with it myself that I am actively looking for better CMS options, per this issue.
Now for the good news: I have implemented a new "Eleventy shortcode" which makes it easy to reference entries in our up-and-coming glossary.
{% defn "term", "optional_display text" %}: this shortcode renders "term" (or "optional_display_text") as a link to the glossary entry for "term".
This shortcode joins a few others now documented in CONTRIBUTING.md. I hope they all help your article-writing.
{% img "/img/filename.ext", "optional_size" %}: this shortcode displays a centered image (as a CSS block), sized so that neither its width nor height exceed "optional_size", which defaults to 400px.
{% imgRight "/img/filename.ext", "size" %}: similar to img but floats right
{% imgLeft "/img/filename.ext", "size" %}: similar to img but floats left
{% alert "optional_style" %} lorem ipsum {% endalert %}: this paired shortcode renders its content inside a Bootstrap 5 alert box, using "optional_style" as the style of alert ("info" is the default).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
Thanks for working on your assigned website pages. If you have any issues with Netlify CMS, please let me know. FYI I have had enough problems with it myself that I am actively looking for better CMS options, per this issue.
Now for the good news: I have implemented a new "Eleventy shortcode" which makes it easy to reference entries in our up-and-coming glossary.
{% defn "term", "optional_display text" %}
: this shortcode renders"term"
(or"optional_display_text"
) as a link to the glossary entry for"term"
.This shortcode joins a few others now documented in CONTRIBUTING.md. I hope they all help your article-writing.
{% img "/img/filename.ext", "optional_size" %}
: this shortcode displays a centered image (as a CSS block), sized so that neither its width nor height exceed"optional_size"
, which defaults to 400px.{% imgRight "/img/filename.ext", "size" %}
: similar toimg
but floats right{% imgLeft "/img/filename.ext", "size" %}
: similar toimg
but floats left{% alert "optional_style" %} lorem ipsum {% endalert %}
: this paired shortcode renders its content inside a Bootstrap 5 alert box, using"optional_style"
as the style of alert ("info" is the default).If you try
{% defn "term" %}
then fyi you will probably also notice this issue with anchor tags hidden under the navbar.Beta Was this translation helpful? Give feedback.
All reactions