Skip to content

Commit

Permalink
Store theme version in a data file
Browse files Browse the repository at this point in the history
Close #593
  • Loading branch information
gcushen committed Aug 12, 2018
1 parent a11d884 commit 5115b1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions data/academic.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Academic

version = "2.4.0"
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme" content="hugo-academic">
<meta name="generator" content="Source Themes Academic {{ .Site.Data.academic.version }}">
{{ .Hugo.Generator }}
{{ with .Site.Params.name }}<meta name="author" content="{{ . }}">{{ end }}

Expand Down

0 comments on commit 5115b1f

Please sign in to comment.