Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
panr committed Feb 1, 2019
1 parent ebdcc29 commit 4a462a4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 249 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,16 @@ paginate = 5
contentTypeName = "posts"
# ["orange", "blue", "red", "green", "pink"]
themeColor = "orange"
# if you set this to 0, only submenu trigger will be visible
showMenuItems = 2
[languages]
[languages.en]
title = "Terminal"
subtitle = "A simple, retro theme for Hugo"
keywords = ""
copyright = ""
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/menu.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav class="menu">
<ul class="menu__inner menu__inner--desktop">
{{ if $.Site.Params.showMenuItems }}
{{ if or $.Site.Params.showMenuItems ( eq .Site.Params.showMenuItems 0 ) }}
{{ range first $.Site.Params.showMenuItems $.Site.Menus.main }}
{{ if not .HasChildren }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
Expand Down
125 changes: 1 addition & 124 deletions static/assets/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

131 changes: 8 additions & 123 deletions static/assets/prism.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module.exports = {
},
minimizer: [
new UglifyJsPlugin({
sourceMap: false,
sourceMap: true,
}),
],
},
Expand Down

0 comments on commit 4a462a4

Please sign in to comment.