a
This commit is contained in:
parent
43321e3f68
commit
839cf7d2c2
7 changed files with 40 additions and 13 deletions
BIN
content/art-of-prolog/art-of-prolog.pdf
Normal file
BIN
content/art-of-prolog/art-of-prolog.pdf
Normal file
Binary file not shown.
5
content/art-of-prolog/index.md
Normal file
5
content/art-of-prolog/index.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = "The Art of Prolog by Leon S. Sterling, Ehud Y. Shapiro"
|
||||
tags = ["book"]
|
||||
+++
|
||||
|
|
@ -1,9 +1,13 @@
|
|||
+++
|
||||
title = "ThreeBallot voting system by Ron Rivest"
|
||||
document = "Rivest-TheThreeBallotVotingSystem.pdf"
|
||||
tags = ["paper"]
|
||||
+++
|
||||
|
||||
A paper proposing an interesting paper-voting system that has several strong
|
||||
privacy guarantees by requiring voters to vote using 3 ballots instead of 1,
|
||||
and distributing the information (which candidate they're voting for) across
|
||||
all 3.
|
||||
|
||||
<!--more-->
|
||||
|
||||
|
||||
|
|
13
layouts/_default/baseof.html
Normal file
13
layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>reading list</title>
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/main.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><a href="{{ .Site.BaseURL }}">reading list</a></h1>
|
||||
|
||||
{{ block "content" . }}{{ end }}
|
||||
</body>
|
||||
</html>
|
|
@ -1,14 +1,10 @@
|
|||
<head>
|
||||
<title>reading list</title>
|
||||
<style>
|
||||
body { font-family: Arial, Helvetica, sans-serif; }
|
||||
h3 { margin: 0; }
|
||||
h3 a { color: black; }
|
||||
h3 .date { color: gray; }
|
||||
</style>
|
||||
</head>
|
||||
{{- define "content" -}}
|
||||
|
||||
<h1>reading list</h1>
|
||||
<style>
|
||||
h3, p { margin: 0; }
|
||||
h3 .date { color: gray; }
|
||||
li { margin-bottom: 10px; }
|
||||
</style>
|
||||
|
||||
<ul>
|
||||
{{- range (sort .Pages "Lastmod" "desc") -}}
|
||||
|
@ -25,3 +21,5 @@
|
|||
</li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
<h1>{{ .Title }}</h1>
|
||||
{{- define "content" -}}
|
||||
|
||||
{{ .Content }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<ul>
|
||||
{{- range .Resources -}}
|
||||
<li><a href="{{ .Permalink }}">{{ . }}</a></li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{- end -}}
|
||||
|
|
3
static/main.css
Normal file
3
static/main.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
body { font-family: Arial, Helvetica, sans-serif; }
|
||||
h1 a { color: black; text-decoration: none; }
|
||||
h3 a { color: black; }
|
Loading…
Reference in a new issue