Compare commits
No commits in common. "306cd0f118e1892326de73ec02a4aa71e0f90946" and "9ca43a0db73c8023fbd531cc743786e1462e206c" have entirely different histories.
306cd0f118
...
9ca43a0db7
4 changed files with 6 additions and 12 deletions
|
@ -477,11 +477,8 @@ ol li {
|
|||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
img, video {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.supt {
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
{{- $img_params := (substr .Destination 4) -}}
|
||||
{{- $img_src := index (split $img_params " ") 0 -}}
|
||||
{{- $img_attr := index (split $img_params $img_src) 1 -}}
|
||||
<img class="sandpoints-img" src="{{ $img_src }}" {{ $img_attr | safeHTMLAttr }} />
|
||||
<img src="{{ $img_src }}" {{ $img_attr | safeHTMLAttr }} />
|
||||
{{- else if strings.HasPrefix .Destination "vid:" -}}
|
||||
{{- $vid_params := (substr .Destination 4) -}}
|
||||
{{- $vid_src := index (split $vid_params " ") 0 -}}
|
||||
{{- $vid_attr := index (split $vid_params $vid_src) 1 -}}
|
||||
<video class="sandpoints-vid" controls src="{{ $vid_src }}" {{ $vid_attr | safeHTMLAttr }}></video>
|
||||
<video controls src="{{ $vid_src }}" {{ $vid_attr | safeHTMLAttr }}></video>
|
||||
{{- else if strings.HasPrefix .Destination "bib:" -}}
|
||||
{{- $destination := (substr .Destination 4) -}}
|
||||
{{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}}
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
<p>_Dir: {{ $currentName }}</p>
|
||||
{{ partial "readdir.html" $currentName }}
|
||||
{{ else }}
|
||||
{{ if eq (path.Ext .Name) ".md" }}
|
||||
{{ $f := readFile $currentName }}
|
||||
<textarea wrap="off" col="108" row="48 ">{{ $f }}</textarea>
|
||||
{{ end }}
|
||||
<p>_File: {{ $currentName }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
2
static/css/site.min.css
vendored
2
static/css/site.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue