-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6391145
commit a5251a6
Showing
67 changed files
with
301 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Mathematics for Macroeconomics" | ||
date: 2013-10-01 | ||
lastmod: 2023-10-01 | ||
url: /c3/ | ||
aliases: | ||
- /t3.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Intermediate Macroeconomics" | ||
date: 2018-12-15 | ||
lastmod: 2024-01-22 | ||
url: /c4/ | ||
aliases: | ||
- /t2.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "u* = √uv" | ||
date: 2023-01-23 | ||
lastmod: 2023-12-15 | ||
url: /13/ | ||
aliases: | ||
- /13.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Pricing under Fairness Concerns" | ||
date: 2021-06-01 | ||
lastmod: 2024-01-25 | ||
url: /8/ | ||
aliases: | ||
- /8.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
title: "Beveridgean Unemployment Gap" | ||
date: 2021-12-01 | ||
lastmod: 2024-01-19 | ||
url: /9/ | ||
aliases: | ||
- /9.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
{{ if .IsHome }} | ||
<script type="application/ld+json"> | ||
{ | ||
"@context": "https://schema.org", | ||
"@type": "{{- ( site.Params.schema.publisherType | default "Organization") | title -}}", | ||
"name": {{ site.Title }}, | ||
"url": {{ site.BaseURL }}, | ||
"description": {{ site.Params.description | plainify | truncate 180 | safeHTML }}, | ||
"thumbnailUrl": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }}, | ||
"sameAs": [ | ||
{{- if site.Params.schema.sameAs }} | ||
{{ range $i, $e := site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }} | ||
{{- else}} | ||
{{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " }}{{ end }} | ||
{{- end}} | ||
] | ||
} | ||
</script> | ||
{{- else if (or .IsPage .IsSection) }} | ||
{{/* BreadcrumbList */}} | ||
{{- $url := replace .Parent.Permalink ( printf "%s" site.BaseURL) "" }} | ||
{{- $lang_url := strings.TrimPrefix ( printf "%s/" .Lang) $url }} | ||
{{- $bc_list := (split $lang_url "/")}} | ||
|
||
{{- $scratch := newScratch }} | ||
<script type="application/ld+json"> | ||
{ | ||
"@context": "https://schema.org", | ||
"@type": "BreadcrumbList", | ||
"itemListElement": [ | ||
{{- range $index, $element := $bc_list }} | ||
|
||
{{- $scratch.Add "path" (printf "%s/" $element ) | safeJS }} | ||
{{- $bc_pg := site.GetPage ($scratch.Get "path") -}} | ||
{{- if (and ($bc_pg) (gt (len . ) 0))}} | ||
{{- if (and $index)}}, {{end }} | ||
{ | ||
"@type": "ListItem", | ||
"position": {{ add 1 $index }}, | ||
"name": {{ $bc_pg.Name }}, | ||
"item": {{ $bc_pg.Permalink | safeHTML }} | ||
} | ||
{{- end }} | ||
{{- end }} | ||
{{- /* self-page addition */ -}} | ||
{{- if (ge (len $bc_list) 2) }}, {{end }} | ||
{ | ||
"@type": "ListItem", | ||
"position": {{len $bc_list}}, | ||
"name": {{ .Name }}, | ||
"item": {{ .Permalink | safeHTML }} | ||
} | ||
] | ||
} | ||
</script> | ||
{{- if .IsPage }} | ||
<script type="application/ld+json"> | ||
{ | ||
"@context": "https://schema.org", | ||
"@type": "BlogPosting", | ||
"headline": {{ .Title | plainify}}, | ||
"name": "{{ .Title | plainify }}", | ||
"description": {{ with .Description | plainify }}{{ . }}{{ else }}{{ .Summary | plainify }}{{ end -}}, | ||
"keywords": [ | ||
{{- if .Params.keywords }} | ||
{{ range $i, $e := .Params.keywords }}{{ if $i }}, {{ end }}{{ $e }}{{ end }} | ||
{{- else }} | ||
{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }} | ||
{{- end }} | ||
], | ||
"articleBody": {{ .Content | safeJS | htmlUnescape | plainify }}, | ||
"wordCount" : "{{ .WordCount }}", | ||
"inLanguage": {{ .Language.Lang | default "en-us" }}, | ||
{{ if .Params.cover.image -}} | ||
"image": | ||
{{- if (ne .Params.cover.relative true) -}} | ||
{{ .Params.cover.image | absURL }}, | ||
{{- else -}} | ||
{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }}, | ||
{{- end}} | ||
{{- end -}} | ||
"datePublished": {{ .PublishDate }}, | ||
"dateModified": {{ .Lastmod }}, | ||
{{- with (.Params.author | default site.Params.author) }} | ||
"author": | ||
{{- if (or (eq (printf "%T" .) "[]string") (eq (printf "%T" .) "[]interface {}")) -}} | ||
[{{- range $i, $v := . -}} | ||
{{- if $i }}, {{end -}} | ||
{ | ||
"@type": "Person", | ||
"name": {{ $v }} | ||
} | ||
{{- end }}], | ||
{{- else -}} | ||
{ | ||
"@type": "Person", | ||
"name": {{ . }} | ||
}, | ||
{{- end -}} | ||
{{- end }} | ||
"mainEntityOfPage": { | ||
"@type": "WebPage", | ||
"@id": {{ .Permalink | safeHTML }} | ||
}, | ||
"publisher": { | ||
"@type": "{{- ( site.Params.schema.publisherType | default "Organization") | title -}}", | ||
"name": {{ site.Title }}, | ||
"logo": { | ||
"@type": "ImageObject", | ||
"url": {{ site.Params.assets.favicon | default "favicon.ico" | absURL }} | ||
} | ||
} | ||
} | ||
</script> | ||
{{- end }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{- if .Params.cover.image -}} | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
{{- if (ne $.Params.cover.relative true) }} | ||
<meta name="twitter:image" content="{{ .Params.cover.image | absURL }}" /> | ||
{{- else }} | ||
<meta name="twitter:image" content="{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }}" /> | ||
{{- end}} | ||
{{- else }} | ||
{{- with $.Params.images -}} | ||
<meta name="twitter:card" content="summary_large_image"/> | ||
<meta name="twitter:image" content="{{ index . 0 | absURL }}"/> | ||
{{ else -}} | ||
{{- $images := $.Resources.ByType "image" -}} | ||
{{- $featured := $images.GetMatch "*feature*" -}} | ||
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} | ||
{{- with $featured -}} | ||
<meta name="twitter:card" content="summary_large_image"/> | ||
<meta name="twitter:image" content="{{ $featured.Permalink }}"/> | ||
{{- else -}} | ||
{{- with site.Params.images -}} | ||
<meta name="twitter:card" content="summary_large_image"/> | ||
<meta name="twitter:image" content="{{ index . 0 | absURL }}"/> | ||
{{ else -}} | ||
<meta name="twitter:card" content="summary"/> | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end }} | ||
{{- end }} | ||
<meta name="twitter:title" content="{{ .Title }}"/> | ||
<meta name="twitter:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{if (eq .Kind `term`) }}Pascal Michaillat's research papers and course material related to: {{ .Title }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}{{ end }}"/> | ||
{{ with site.Social.twitter -}} | ||
<meta name="twitter:site" content="@{{ . }}"/> | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.