Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix docs
Adam Janik7084dc257b03
diff --git a/docs/architecture/page.rst b/docs/architecture/page.rstindex 55ffaaaac2..d9a992f8b6 100644--- a/docs/architecture/page.rst+++ b/docs/architecture/page.rst@@ -3,33 +3,39 @@ Saleor PagesSetting up custom pages----------------+-----------------------You can set up your own pages such as "About us" or "Important Announcement!" in the Pages menu in dashboard.Note that if you are not an admin, you need to be in group with proper permissions.Providing an URL to your page in storefront-----------------------------+-------------------------------------------If you want to add a link to recently created page in storefront, all you need to do is to put the following code:-`<a href="{% url "page:details" slug="your-slug" %}">Text for the link</a>`++.. code-block:: html++ <a href="{% url "page:details" slug="your-slug" %}">Text for the link</a>+in the proper template.For example in default Saleor setup, in the footer there is a list of categories:-```-<ul>-{% for category in categories %}++.. code-block:: html++ {% for category in categories %}<li>- <a href="{{ category.get_absolute_url }}">+ <a href="{{ category.get_absolute_url }}">{{ category|capfirst }}- </a>+ </a></li>-{% endfor %}-```+ {% endfor %}+Say, you want to add "Terms of Service" page with `terms-of-service` slug; you just need to add:-```-{% endfor %}-<li>++.. code-block:: html++ {% endfor %}+ <li><a href="{% url "page:details" slug="terms-of-service" %}">ToS</a>-</li>-```+ </li>