Change naming convention

This commit is contained in:
Tim DuBois 2018-03-27 07:38:04 +02:00
parent 46115334c8
commit c8dfc5156a
No known key found for this signature in database
GPG key ID: 4D3183C1C5D8A54F
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@ impl Page {
permalinks, permalinks,
anchor_insert 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.content = res.0;
self.toc = res.1; self.toc = res.1;
if self.raw_content.contains("<!-- more -->") { if self.raw_content.contains("<!-- more -->") {

View file

@ -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 An anchor link to this position is created so you can link directly to it if needed
for example: for example:
`<a href="{{ page.permalink }}#more">Continue Reading</a>` `<a href="{{ page.permalink }}#continue-reading">Continue Reading</a>`