This commit is contained in:
张超
2025-09-18 17:58:19 +08:00
parent 5fd7411f9a
commit abd5962ae9
6 changed files with 6 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
<!-- templates/base.tmpl -->
<!DOCTYPE html>
<html>
<head>

View File

@@ -1,3 +1,4 @@
<!-- templates/about.tmpl -->
{{ define "header" }}
<header class="site-header">
<div class="container">

View File

@@ -99,4 +99,4 @@
{{ end }}
<!--继承基础模板内容-->
{{ template "base.html" . }}
{{ template "base.tmpl" . }}