diff --git a/config.toml b/config.toml index e4b7418..350e235 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,4 @@ baseURL = "http://example.org/" languageCode = "en-us" title = "My New Hugo Site" +enableGitInfo = true diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..fbb8d43 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,4 @@ ++++ +[cascade] +type = "page" ++++ diff --git a/static/Rivest-TheThreeBallotVotingSystem.pdf b/content/rivest-three-ballot/Rivest-TheThreeBallotVotingSystem.pdf similarity index 100% rename from static/Rivest-TheThreeBallotVotingSystem.pdf rename to content/rivest-three-ballot/Rivest-TheThreeBallotVotingSystem.pdf diff --git a/content/rivest-three-ballot.md b/content/rivest-three-ballot/index.md similarity index 85% rename from content/rivest-three-ballot.md rename to content/rivest-three-ballot/index.md index 66f4c99..914c55d 100644 --- a/content/rivest-three-ballot.md +++ b/content/rivest-three-ballot/index.md @@ -1,6 +1,6 @@ +++ title = "ThreeBallot voting system by Ron Rivest" -document = "/Rivest-TheThreeBallotVotingSystem.pdf" +document = "Rivest-TheThreeBallotVotingSystem.pdf" +++ A paper proposing an interesting paper-voting system that has several strong diff --git a/layouts/home.html b/layouts/home.html index 56b96de..2d8d14b 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -14,11 +14,7 @@ {{- range (.Pages.ByParam "Lastmod") -}}
  • - {{- if .Params.document -}} - {{ .Title }} - {{- else -}} - {{ .Title }} - {{- end -}} + {{ .Title }} {{ .Lastmod.Format "Mon Jun 02, 2006" }} @@ -26,10 +22,6 @@

    {{ .Summary }}

    - - {{- if .Params.link -}} - {{- else -}} - {{- end -}}
  • {{- end -}} diff --git a/layouts/page/single.html b/layouts/page/single.html new file mode 100644 index 0000000..e6323fc --- /dev/null +++ b/layouts/page/single.html @@ -0,0 +1,9 @@ +

    {{ .Title }}

    + +{{ .Content }} + +