Ver código fonte

Update academic theme

Xi Ruoyao 6 anos atrás
pai
commit
09db3f0366
3 arquivos alterados com 2 adições e 25 exclusões
  1. 1 12
      config.toml
  2. 0 12
      content/home/search.md
  3. 1 1
      themes/academic

+ 1 - 12
config.toml

@@ -22,15 +22,9 @@ defaultContentLanguageInSubdir = false
 enableGitInfo = true
 
 [outputs]
-  home = [ "HTML", "CSS", "RSS", "search" ]
+  home = [ "HTML", "CSS", "RSS", "JSON" ]
   section = [ "HTML", "RSS" ]
 
-[outputFormats.search]
-  baseName = "search"
-  isPlainText = true
-  mediaType = "application/json"
-  notAlternative = true
-
 # Configure BlackFriday Markdown rendering.
 #   See: https://gohugo.io/readfiles/bfconfig/
 [blackfriday]
@@ -264,11 +258,6 @@ enableGitInfo = true
   url = "#contact"
   weight = 6
 
-[[menu.main]]
-  name = "Search"
-  url = "#search"
-  weight = 10
-
   [params.search]
     engine = 1
 

+ 0 - 12
content/home/search.md

@@ -1,12 +0,0 @@
-+++
-# Search widget.
-widget = "search"
-active = true
-date = 2018-07-23T00:00:00
-
-title = "Search"
-subtitle = ""
-
-# Order that this section will appear in.
-weight = 75
-+++

+ 1 - 1
themes/academic

@@ -1 +1 @@
-Subproject commit 05f16c37f47b93269fc890ccd39f0fa868323d99
+Subproject commit c4358cde4d69c5eafa740a7191bef487ae49f441