* Fixed navbar scroll spy * Created get-section-url helper * Fix URL for home section Signed-off-by: hossainemruz <hossainemruz@gmail.com> --------- Signed-off-by: hossainemruz <hossainemruz@gmail.com> Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{- if page.IsHome -}}
|
||||
#{{ partial "helpers/get-section-id.html" . }}
|
||||
{{- else -}}
|
||||
{{ site.BaseURL | relLangURL }}#{{ partial "helpers/get-section-id.html" . }}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user