Use a new name for this template/frontend variable to make it distinct from the server variable StaticURLPrefix.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| {{template "base/head" .}}
 | |
| <div class="page-content ui container center full-screen-width {{if .IsRepo}}repository{{end}}">
 | |
| 	{{if .IsRepo}}{{template "repo/header" .}}{{end}}
 | |
| 	<div class="ui container center">
 | |
| 		<p style="margin-top: 100px"><img class="ui centered image" src="{{AssetUrlPrefix}}/img/404.png" alt="404"/></p>
 | |
| 		<div class="ui divider"></div>
 | |
| 		<br>
 | |
| 		<p>{{.i18n.Tr "error404" | Safe}}
 | |
| 		{{if .ShowFooterVersion}}<p>{{.i18n.Tr "admin.config.app_ver"}}: {{AppVer}}</p>{{end}}
 | |
| 	</div>
 | |
| </div>
 | |
| {{template "base/footer" .}}
 |