You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
1.2 KiB

  1. <!DOCTYPE html>
  2. {{- $filePath := .File -}}
  3. {{- $gitUrl := .Site.Data.myvars.giturl -}}
  4. <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
  5. {{- partial "head.html" . -}}
  6. {{ partialCached "css.html" . }}
  7. <body>
  8. {{ with .Site.Data.myvars.edit }}
  9. <div class="flex justify-between sticky top-0 static border-b-8 z-10 border-red bg-white px-1 pt-2">
  10. <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/content/{{ $filePath }}">edit_this</a>
  11. <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/topic/">add_new_topic</a>
  12. <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_new/master/content/session/">add_new_session</a>
  13. <a class="edit-button" target="_blank" href="{{ $gitUrl }}/_edit/master/PUBLISH.trigger.md">publish</a>
  14. <a class="edit-button" target="_blank" href="{{ $gitUrl }}"> ? </a>
  15. </div>
  16. {{ end }}
  17. {{- partial "header.html" . -}}
  18. {{$currentNode := . }}
  19. <h1>{{ .Title }}</h1>
  20. {{- block "main" . }}{{- end }}
  21. {{- partial "footer.html" . -}}
  22. </body>
  23. </html>