Browse Source

Merge pull request #283 from scvalex/fix-continue-reading-docs

Obfuscate <!-- more --> in docs so that it doesn't get replaced
index-subcmd
Vincent Prouillet GitHub 6 years ago
parent
commit
3856ead778
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      docs/content/documentation/content/page.md

+ 4
- 3
docs/content/documentation/content/page.md View File

@@ -74,9 +74,10 @@ Some content
You can ask Gutenberg to create a summary if you only want to show the first
paragraph of each page in a list for example.

To do so, add `<!-- more -->` in your content at the point where you want the
summary to end and the content up to that point will be also available separately
in the [template](./documentation/templates/pages-sections.md#page-variables).
To do so, add <code>&lt;!-- more --&gt;</code> in your content at the point
where you want the summary to end and the content up to that point will be also
available separately in the
[template](./documentation/templates/pages-sections.md#page-variables).

An anchor link to this position named `continue-reading` is created so you can link
directly to it if needed for example:


Loading…
Cancel
Save