| Server IP : 172.67.158.106 / Your IP : 104.23.243.25 Web Server : nginx/1.30.6 System : Linux alexhost1 7.0.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 6 02:38:04 UTC 2026 x86_64 User : xxbet_company_com ( 1133) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /data/pbn/satellite/resources/for-satellite-main/themes/main/layouts/partials/widgets/ |
Upload File : |
{{- $h2Regex := `<h2\s*>(.+?)</h2>` -}}
{{- $h2s := findRESubmatch $h2Regex .Page.RawContent -}}
<ul>
{{- range $key, $value := $h2s }}
{{- $anchor := (partial "func/get-title-to-anchor.html" (dict "title" (index . 1))) -}}
<li><a href="#{{ $anchor }}">{{- (index (index $h2s $key) 1) -}}</a></li>
{{- end }}
</ul>