mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Fix strings
This commit is contained in:
parent
04d306acb0
commit
81bf71c872
3 changed files with 9 additions and 3 deletions
|
|
@ -28,6 +28,12 @@ blog.enable = "false"
|
|||
; Social account
|
||||
social.twitter = ""
|
||||
social.facebook = ""
|
||||
social.instagram = ""
|
||||
social.linkedin = ""
|
||||
social.github = ""
|
||||
social.youtube = ""
|
||||
social.mastodon = ""
|
||||
social.tiktok = ""
|
||||
|
||||
; Breadcrumb home text. Useful when installed on subfolder.
|
||||
breadcrumb.home = "Home"
|
||||
|
|
@ -148,7 +154,7 @@ toc.style = "default"
|
|||
; Option "true" and "false"
|
||||
toc.automatic = "false"
|
||||
|
||||
; Automatically insert the TOC in x paragraph
|
||||
; Automatically insert the TOC after x paragraph
|
||||
toc.position = "1"
|
||||
|
||||
; Set the theme here
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label for="toc.position" class="col-sm-2 col-form-label">TOC position in x paragraph</label>
|
||||
<label for="toc.position" class="col-sm-2 col-form-label">TOC position after x paragraph</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="number" name="-config-toc.position" class="form-control" id="toc.position" value="<?php echo config('toc.position');?>">
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3654,7 +3654,7 @@ function insert_toc($id, $part_1 = null, $part_2 = null)
|
|||
return $result;
|
||||
}
|
||||
|
||||
// Automatically add toc in x paragraph
|
||||
// Automatically add toc after x paragraph
|
||||
function automatic_toc($content, $id)
|
||||
{
|
||||
$pos = config('toc.position');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue