diff options
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/footer.tmpl | 8 | ||||
-rw-r--r-- | templates/base/head.tmpl | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 923f39e85b..a0c14db218 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -45,10 +45,6 @@ <script src="{{AppSubUrl}}/js/draw.js"></script> {{end}} -<!-- JavaScript --> -<script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script> -<script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script> - <!-- Third-party libraries --> {{if .RequireHighlightJS}} <script src="{{AppSubUrl}}/plugins/highlight-9.11.0/highlight.pack.js"></script> @@ -66,5 +62,9 @@ <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script> <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script> <script src="{{AppSubUrl}}/js/libs/vue.min.js"></script> + + <!-- JavaScript --> + <script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script> + <script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script> </body> </html> diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index bb6f1ecaf5..88d2b14a46 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -17,6 +17,9 @@ {{if .ContextUser}} <meta name="_context_uid" content="{{.ContextUser.ID}}" /> {{end}} + {{if .SearchLimit}} + <meta name="_search_limit" content="{{.SearchLimit}}" /> + {{end}} {{if .GoGetImport}} <meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}"> <meta name="go-source" content="{{.GoGetImport}} _ {{.GoDocDirectory}} {{.GoDocFile}}"> |