403Webshell
Server IP : 104.21.58.90  /  Your IP : 162.159.114.112
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /data/pbn/satellite/resources/for-satellite-main/themes/main/layouts/partials/func/image.html
{{- $src := .s -}}
{{- $default := .default | default site.Params.defaultImg -}}
{{- $alt := .a -}}
{{- $class := .c -}}
{{- $title := .t -}}
{{- $amp := (or site.Params.generateAMP (eq (getenv `HUGO_GENERATE_AMP`) `true`)) | default .amp -}}
{{- $width := .w  -}}
{{- $height := .h  -}}
{{- $notEmptyScr := false -}}
{{- $validSuffix := false -}}
{{- $validSrc := false -}}
{{- $validImg := false -}}
{{- $suffixArray := slice ".jpeg" ".jpg" ".png" ".svg" ".webp" -}}

{{- $chars := split $src "" -}}
{{- $srcSuffix := index ( findRE `\.(jpeg|jpg|png|svg|webp)$` $src ) 0 -}}
{{- $img := resources.Get $src -}}
{{/*  {{- $img = $img.Process "webp" | resources.Copy (replace $src $srcSuffix ".webp")  -}}  */}}

{{- with $img -}}
{{- if or (eq $img.MediaType.Type "webp") (eq $img.MediaType.SubType "svg") -}}
{{- else -}}
  {{- $img = $img.Process "webp" | resources.Copy (replace $src $srcSuffix ".webp")  -}}
{{- end -}}

{{- if $img -}}
  <img src="{{ $img.RelPermalink }}" loading="lazy"
    {{- with $alt -}} alt="{{ $alt }}" {{ end -}}
    {{- with $class -}} class="{{ $class }}" {{ end -}}
    {{- with $width -}} width="{{ $width }}" {{ end -}}
    {{- with $height -}} height="{{ $height }}" {{ end -}}
    {{- with $title -}} title="{{ $title }}" {{ end -}}
  />
{{- end -}}

{{- end -}}

Youez - 2016 - github.com/yon3zu
LinuXploit