This commit is contained in:
Michael Zhang 2020-11-03 19:16:16 -06:00
parent 43321e3f68
commit 839cf7d2c2
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
7 changed files with 40 additions and 13 deletions

Binary file not shown.

View file

@ -0,0 +1,5 @@
+++
title = "The Art of Prolog by Leon S. Sterling, Ehud Y. Shapiro"
tags = ["book"]
+++

View file

@ -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-->

View 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>

View file

@ -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 -}}

View file

@ -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
View file

@ -0,0 +1,3 @@
body { font-family: Arial, Helvetica, sans-serif; }
h1 a { color: black; text-decoration: none; }
h3 a { color: black; }