Merge branch 'master' into fix-lang-sel

This commit is contained in:
nevfy 2024-07-10 17:02:57 +03:00
commit aa6f4c5c43
3 changed files with 5 additions and 4 deletions

View file

@ -4,8 +4,6 @@
.td-sidebar-toc {
@include link-decoration;
border-left: 1px solid $border-color;
@supports (position: sticky) {
position: sticky;
top: 4rem;
@ -15,7 +13,6 @@
order: 2;
padding-top: 0.75rem;
padding-bottom: 1.5rem;
vertical-align: top;
.td-page-meta a {

View file

@ -60,6 +60,10 @@ time_format_default = "02.01.2006"
time_format_blog = "02.01.2006"
[markup]
[markup.tableOfContents]
startLevel = 2
endLevel = 2
ordered = false
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true

View file

@ -5,7 +5,7 @@
{{ $gh_subdir := ($.Param "github_subdir") -}}
{{ $gh_project_repo := ($.Param "github_project_repo") -}}
{{ $gh_branch := (default "main" ($.Param "github_branch")) -}}
<div class="td-page-meta ms-2 pb-1 pt-2 mb-0">
<div class="td-page-meta py-2 mb-0">
{{ if $gh_url -}}
{{ warnf "Warning: use of `github_url` is deprecated. For details see https://www.docsy.dev/docs/adding-content/repository-links/#github_url-optional" -}}
<a href="{{ $gh_url }}" target="_blank"><i class="fa-solid fa-pen-to-square fa-fw"></i> {{ T "post_edit_this" }}</a>