|
@@ -1,11 +1,11 @@ |
|
|
<!DOCTYPE html> |
|
|
<!DOCTYPE html> |
|
|
{{- $filePath := .File -}} |
|
|
{{- $filePath := .File -}} |
|
|
{{- $gitUrl := .Site.Data.myvars.giturl -}} |
|
|
|
|
|
|
|
|
{{- $gitUrl := .Site.Params.giturl -}} |
|
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}"> |
|
|
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}"> |
|
|
{{- partial "head.html" . -}} |
|
|
{{- partial "head.html" . -}} |
|
|
{{ partialCached "css.html" . }} |
|
|
{{ partialCached "css.html" . }} |
|
|
<body> |
|
|
<body> |
|
|
{{ with .Site.Data.myvars.edit }} |
|
|
|
|
|
|
|
|
{{ with .Site.Params.edit }} |
|
|
<div class="flex justify-between sticky top-0 static border-b-8 z-10 border-red bg-white px-1 pt-2"> |
|
|
<div class="flex justify-between sticky top-0 static border-b-8 z-10 border-red bg-white px-1 pt-2"> |
|
|
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/content/{{ $filePath }}">edit_this</a> |
|
|
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/content/{{ $filePath }}">edit_this</a> |
|
|
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/topic/">add_new_topic</a> |
|
|
<a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/topic/">add_new_topic</a> |
|
@@ -21,4 +21,4 @@ |
|
|
{{- block "main" . }}{{- end }} |
|
|
{{- block "main" . }}{{- end }} |
|
|
{{- partial "footer.html" . -}} |
|
|
{{- partial "footer.html" . -}} |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
|
|
|
|
|
|
</html> |