diff --git a/config/config.ini.example b/config/config.ini.example index 29ba522..67d1d9e 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -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 diff --git a/system/admin/views/config-widget.html.php b/system/admin/views/config-widget.html.php index 95fce6f..68f63cc 100644 --- a/system/admin/views/config-widget.html.php +++ b/system/admin/views/config-widget.html.php @@ -125,7 +125,7 @@
- +
diff --git a/system/includes/functions.php b/system/includes/functions.php index 7dc099b..ed1d254 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -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');