mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixes the reST syntax of an example in the docs
reST example of the section "Linking to internal content" had incorrect metadata. Moreover, time was missing from the date of both markdown and reST example. This was pointed out by [lefromage at #pelican](https://botbot.me/freenode/pelican/msg/2235275/)
This commit is contained in:
parent
964f7d96d6
commit
a76bca9b0d
1 changed files with 5 additions and 3 deletions
|
|
@ -300,8 +300,10 @@ following syntax:
|
|||
|
||||
In this example, ``article1.rst`` could look like::
|
||||
|
||||
Title: The first article
|
||||
Date: 2012-12-01
|
||||
The first article
|
||||
#################
|
||||
|
||||
:date: 2012-12-01 10:02
|
||||
|
||||
See below intra-site link examples in reStructuredText format.
|
||||
|
||||
|
|
@ -311,7 +313,7 @@ In this example, ``article1.rst`` could look like::
|
|||
and ``article2.md``::
|
||||
|
||||
Title: The second article
|
||||
Date: 2012-12-01
|
||||
Date: 2012-12-01 10:02
|
||||
|
||||
See below intra-site link examples in Markdown format.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue