Update go tmpl name
This commit is contained in:
		
							
								
								
									
										30
									
								
								cmd/web/templates/base.layout.gohtml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								cmd/web/templates/base.layout.gohtml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,30 @@
 | 
			
		||||
{{ define "base" }}
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
    <head>
 | 
			
		||||
        <meta charset="utf-8">
 | 
			
		||||
        <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
        <title>Bootstrap demo</title>
 | 
			
		||||
        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
 | 
			
		||||
              rel="stylesheet"
 | 
			
		||||
              integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
 | 
			
		||||
              crossorigin="anonymous">
 | 
			
		||||
        <title>
 | 
			
		||||
            {{ block "title" . }}
 | 
			
		||||
            {{ end }}
 | 
			
		||||
        </title>
 | 
			
		||||
    </head>
 | 
			
		||||
    <body>
 | 
			
		||||
        <div class="container">
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                <div class="col">{{ block "content" . }} {{ end }}</div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
 | 
			
		||||
            integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
 | 
			
		||||
            crossorigin="anonymous"></script>
 | 
			
		||||
    {{ block "js" . }}
 | 
			
		||||
    {{ end }}
 | 
			
		||||
    </body>
 | 
			
		||||
</html>
 | 
			
		||||
{{ end }}
 | 
			
		||||
@ -1,3 +0,0 @@
 | 
			
		||||
{{define "base"}}
 | 
			
		||||
 | 
			
		||||
{{end}}
 | 
			
		||||
							
								
								
									
										9
									
								
								cmd/web/templates/terminal.page.gohtml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								cmd/web/templates/terminal.page.gohtml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
{{ template "base" . }}
 | 
			
		||||
{{ define "title" }}
 | 
			
		||||
Virtual Terminal
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ define "content" }}
 | 
			
		||||
<h2>Virtual Terminal</h2>
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ define "js" }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user