| Server IP : 172.67.158.106 / Your IP : 162.159.114.23 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/func/ |
Upload File : |
{{- $regex := `<h2\s*>(.+?)</h2>` -}}
{{- $matched := findRESubmatch $regex .Page.RawContent -}}
{{- if gt (len $matched ) 2 -}}
<div class="module module-anchor-menu sticky-anchor">
<div
class="w-full bg-[#fffffff5] backdrop-blur top-20 left-0 right-0 z-20 shadow-down"
>
<div
id="anchor_menu"
class="anchor_menu-module max-w-screen-xl lg:space-x-10 space-x-6 mx-auto px-4 lg:py-3.5 pb-[15px] pt-2 flex whitespace-nowrap overflow-x-scroll md:overflow-x-auto before:content[''] after:content[''] before:m-auto after:m-auto anchor__scrollbar"
>
{{- $pageUrl := .Page.RelPermalink -}}
{{/* {{- if site.Params.amp -}}
{{- $pageUrl = printf "%s%s" site.Params.amp_url (replace .Page.RelPermalink `index.php` ``) -}}
{{- else -}}
{{- $pageUrl = printf "%s%s" site.Params.cpu (replace .Page.RelPermalink `index.php` ``) -}}
{{- end -}}
*/}}
{{- range $matched -}}
{{- $chars := split ( (index . 1) | anchorize) "" -}}
{{- $t := site.Data.translit -}}
{{- $anchor := "" -}}
{{- range $i, $e := $chars -}}
{{- if isset $t $e -}}
{{- $anchor = print $anchor (index $t $e ) -}}
{{- else -}}
{{- $anchor = print $anchor $e -}}
{{- end -}}
{{- end -}}
<a
class="anchor-menu-items text-sm text-black-900 max-w-screen-xl font-normal"
data-anchor="{{ $anchor }}"
href="{{- $pageUrl -}}#{{- $anchor -}}"
>
{{- index . 1 -}}
</a>
{{- end -}}
<div class="progress-bar" id="progressBar" style="width: 0%"></div>
</div>
</div>
</div>
{{- end -}}