Change naming convention
This commit is contained in:
parent
46115334c8
commit
c8dfc5156a
|
@ -170,7 +170,7 @@ impl Page {
|
|||
permalinks,
|
||||
anchor_insert
|
||||
);
|
||||
let res = markdown_to_html(&self.raw_content.replacen("<!-- more -->", "<a name=\"more\"></a>", 1), &context)?;
|
||||
let res = markdown_to_html(&self.raw_content.replacen("<!-- more -->", "<a name=\"continue-reading\"></a>", 1), &context)?;
|
||||
self.content = res.0;
|
||||
self.toc = res.1;
|
||||
if self.raw_content.contains("<!-- more -->") {
|
||||
|
|
|
@ -80,4 +80,4 @@ in the [template](./documentation/templates/pages-sections.md#page-variables).
|
|||
|
||||
An anchor link to this position is created so you can link directly to it if needed
|
||||
for example:
|
||||
`<a href="{{ page.permalink }}#more">Continue Reading</a>`
|
||||
`<a href="{{ page.permalink }}#continue-reading">Continue Reading</a>`
|
||||
|
|
Loading…
Reference in a new issue