Skip to content

Commit

Permalink
Add missing metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaillat committed Mar 23, 2024
1 parent 1493682 commit a057319
Show file tree
Hide file tree
Showing 45 changed files with 187 additions and 160 deletions.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ menu:
weight: 5

params:
description: "This website hosts Pascal Michaillat's research papers, course material, design projects, contact information, and CV."
description: "This website hosts Pascal Michaillat's research papers, course material, design projects, curriculum vitae, and contact information."
author: Pascal Michaillat
googleAnalyticsID: "G-97G4MZ4061"
DateFormat: "January 2006"
Expand All @@ -53,7 +53,7 @@ params:
profileMode:
enabled: true
title: Pascal Michaillat
subtitle: "I'm an Associate Professor of Economics at the University of California, Santa Cruz. I research why economic slack—especially unemployment—exists, why slack fluctuates over the business cycle, and how macroeconomic policies should respond to such fluctuations."
subtitle: "I am an Associate Professor of Economics at the University of California, Santa Cruz. I research why economic slack—especially unemployment—exists, why slack fluctuates over the business cycle, and how macroeconomic policies should respond to such fluctuations."
imageUrl: "/picture.jpeg"
imageWidth: 160
imageHeight: 160
Expand Down
1 change: 1 addition & 0 deletions content/archive.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Archive"
author: "Pascal Michaillat"
description: "Pascal Michaillat's research papers, course material, and design projects listed in reverse chronological order."
layout: "archives"
---
1 change: 1 addition & 0 deletions content/courses/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: "Courses"
author: "Pascal Michaillat"
description: "Undergraduate and graduate courses on business cycles, economic slack, unemployment, macroeconomics, and mathematical methods."
---
1 change: 1 addition & 0 deletions content/design/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: "Design"
author: "Pascal Michaillat"
description: "Minimalist templates for academic papers, presentations, and websites. Also script to produce scientific figures. Built with LaTeX, MATLAB, and Hugo."
---
7 changes: 4 additions & 3 deletions content/location.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: "Location"
aliases:
- /contact.html
hidemeta: true
date: 2024-03-22
url: /location/
author: "Pascal Michaillat"
description: "Pascal Michaillat's mailing addresses and office address at the University of California, Santa Cruz."
hidemeta: true

---

Expand Down
8 changes: 5 additions & 3 deletions content/officehours.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: "Office Hours"
aliases:
- /oh.html
hidemeta: true
date: 2024-03-22
url: /officehours/
author: "Pascal Michaillat"
description: "Schedule and location of Prof. Michaillat's office hours at the University of California, Santa Cruz."
hidemeta: true

---

---
Expand Down
2 changes: 0 additions & 2 deletions content/papers/15.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
title: "Moen Meets Rotemberg: An Earthly Model of the Divine Coincidence"
date: 2024-01-20
url: /15/
aliases:
- /13pl.pdf
tags: ["business cycles","economic slack","efficiency","matching function","monetary policy","optimal control","price rigidity","social psychology","stabilization policy","sufficient statistics","unemployment gap","wealth in the utility","Phillips curve"]
author: ["Pascal Michaillat","Emmanuel Saez"]
description: "This paper develops a simple business-cycle model with divine coincidence: inflation is on target when unemployment is efficient."
Expand Down
1 change: 1 addition & 0 deletions content/papers/_index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: "Papers"
author: "Pascal Michaillat"
description: "Research papers on unemployment, economic slack, business cycles, monetary policy, fiscal policy, and metascience."
---
1 change: 1 addition & 0 deletions content/tags/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Tags"
author: "Pascal Michaillat"
description: "Topics covered and methods used in Pascal Michaillat's research papers and courses."
layout: "terms"
---
49 changes: 49 additions & 0 deletions layouts/partials/templates/opengraph.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
{{- if .Params.cover.image -}}
{{- if (ne .Params.cover.relative true) }}
<meta property="og:image" content="{{ .Params.cover.image | absURL }}" />
{{- else}}
<meta property="og:image" content="{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }}" />
{{- end}}
{{- else }}

{{- with $.Params.images -}}
{{- range first 6 . }}<meta property="og:image" content="{{ . | absURL }}" />{{ end -}}
{{- else -}}
{{- $images := $.Resources.ByType "image" -}}
{{- $featured := $images.GetMatch "*feature*" -}}
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
{{- with $featured -}}
<meta property="og:image" content="{{ $featured.Permalink }}"/>
{{- else -}}
{{- with site.Params.images }}<meta property="og:image" content="{{ index . 0 | absURL }}"/>{{ end -}}
{{- end -}}
{{- end -}}
{{- end }}

{{- if .IsPage }}
{{- $iso8601 := "2006-01-02T15:04:05-07:00" -}}
<meta property="article:section" content="{{ .Section }}" />
{{ with .PublishDate }}<meta property="article:published_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end }}
{{ with .Lastmod }}<meta property="article:modified_time" {{ .Format $iso8601 | printf "content=%q" | safeHTMLAttr }} />{{ end }}
{{- end -}}

{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
{{- with .Params.locale }}<meta property="og:locale" content="{{ . }}" />{{ end }}
{{- with site.Params.title }}<meta property="og:site_name" content="{{ . }}" />{{ end }}
{{- with .Params.videos }}{{- range . }}
<meta property="og:video" content="{{ . | absURL }}" />
{{ end }}{{ end }}

{{- /* If it is part of a series, link to related articles */}}
{{- $permalink := .Permalink }}
{{- $siteSeries := site.Taxonomies.series }}
{{ with .Params.series }}{{- range $name := . }}
{{- $series := index $siteSeries ($name | urlize) }}
{{- range $page := first 6 $series.Pages }}
{{- if ne $page.Permalink $permalink }}<meta property="og:see_also" content="{{ $page.Permalink }}" />{{ end }}
{{- end }}
{{ end }}{{ end }}
10 changes: 0 additions & 10 deletions public/13pl.pdf/index.html

This file was deleted.

6 changes: 3 additions & 3 deletions public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="robots" content="index, follow">
<title>404 Page not found | Pascal Michaillat</title>
<meta name="keywords" content="">
<meta name="description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV.">
<meta name="description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information.">
<meta name="author" content="Pascal Michaillat">
<link rel="canonical" href="https://pascalmichaillat.org/404.html">
<link crossorigin="anonymous" href="/assets/css/stylesheet.b644f84dad578efb8d613a6e20edc7177a8c1417a12482925f1c36e9a8d2b506.css" integrity="sha256-tkT4Ta1XjvuNYTpuIO3HF3qMFBehJIKSXxw26ajStQY=" rel="preload stylesheet" as="style">
Expand All @@ -27,13 +27,13 @@

</style>
</noscript><meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV." />
<meta property="og:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://pascalmichaillat.org/404.html" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV."/>
<meta name="twitter:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information."/>



Expand Down
10 changes: 10 additions & 0 deletions public/archive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,16 @@ <h2 class="archive-year-header">2024
<h3 class="archive-month-header">March
</h3>
<div class="archive-posts">
<div class="archive-entry">
<h3 class="archive-entry-title">Location
</h3>
<a class="entry-link" aria-label="post link to Location" href="https://pascalmichaillat.org/location/"></a>
</div>
<div class="archive-entry">
<h3 class="archive-entry-title">Office Hours
</h3>
<a class="entry-link" aria-label="post link to Office Hours" href="https://pascalmichaillat.org/officehours/"></a>
</div>
<div class="archive-entry">
<h3 class="archive-entry-title">Critical Values Robust to P-hacking
</h3>
Expand Down
10 changes: 0 additions & 10 deletions public/contact.html

This file was deleted.

10 changes: 5 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="robots" content="index, follow">
<title>Pascal Michaillat</title>

<meta name="description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV.">
<meta name="description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information.">
<meta name="author" content="Pascal Michaillat">
<link rel="canonical" href="https://pascalmichaillat.org/">
<link crossorigin="anonymous" href="/assets/css/stylesheet.b644f84dad578efb8d613a6e20edc7177a8c1417a12482925f1c36e9a8d2b506.css" integrity="sha256-tkT4Ta1XjvuNYTpuIO3HF3qMFBehJIKSXxw26ajStQY=" rel="preload stylesheet" as="style">
Expand All @@ -29,21 +29,21 @@

</style>
</noscript><meta property="og:title" content="Pascal Michaillat" />
<meta property="og:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV." />
<meta property="og:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://pascalmichaillat.org/" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Pascal Michaillat"/>
<meta name="twitter:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, contact information, and CV."/>
<meta name="twitter:description" content="This website hosts Pascal Michaillat&#39;s research papers, course material, design projects, curriculum vitae, and contact information."/>

<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Pascal Michaillat",
"url": "https://pascalmichaillat.org/",
"description": "This website hosts Pascal Michaillat\u0026#39;s research papers, course material, design projects, contact information, and CV.",
"description": "This website hosts Pascal Michaillat\u0026#39;s research papers, course material, design projects, curriculum vitae, and contact information.",
"thumbnailUrl": "https://pascalmichaillat.org/favicon.ico",
"sameAs": [
"/cv.pdf", "mailto:pascal.michaillat@gmail.com", "/location/", "/officehours/", "https://scholar.google.com/citations?user=cL23w-4AAAAJ", "https://www.youtube.com/@pmichaillat", "https://github.com/pmichaillat"
Expand Down Expand Up @@ -97,7 +97,7 @@
<img draggable="false" src="https://pascalmichaillat.org/picture.jpeg" alt="Pascal Michaillat" title="Pascal Michaillat"
height="160" width="160" />
<h1>Pascal Michaillat</h1>
<span>I&rsquo;m an Associate Professor of Economics at the University of California, Santa Cruz. I research why economic slack—especially unemployment—exists, why slack fluctuates over the business cycle, and how macroeconomic policies should respond to such fluctuations.</span><div class="social-icons">
<span>I am an Associate Professor of Economics at the University of California, Santa Cruz. I research why economic slack—especially unemployment—exists, why slack fluctuates over the business cycle, and how macroeconomic policies should respond to such fluctuations.</span><div class="social-icons">
<a href="/cv.pdf" target="_blank" rel="noopener noreferrer me" title="CV">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path
Expand Down
36 changes: 18 additions & 18 deletions public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Mon, 04 Mar 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://pascalmichaillat.org/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Location</title>
<link>https://pascalmichaillat.org/location/</link>
<pubDate>Fri, 22 Mar 2024 00:00:00 +0000</pubDate>

<guid>https://pascalmichaillat.org/location/</guid>
<description>Pascal Michaillat&amp;#39;s mailing addresses and office address at the University of California, Santa Cruz.</description>
</item>

<item>
<title>Office Hours</title>
<link>https://pascalmichaillat.org/officehours/</link>
<pubDate>Fri, 22 Mar 2024 00:00:00 +0000</pubDate>

<guid>https://pascalmichaillat.org/officehours/</guid>
<description>Schedule and location of Prof. Michaillat&amp;#39;s office hours at the University of California, Santa Cruz.</description>
</item>

<item>
<title>Critical Values Robust to P-hacking</title>
<link>https://pascalmichaillat.org/12/</link>
Expand Down Expand Up @@ -242,23 +260,5 @@
</item>


<item>
<title>Location</title>
<link>https://pascalmichaillat.org/location/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://pascalmichaillat.org/location/</guid>
<description>Pascal Michaillat&amp;#39;s mailing addresses and office address at the University of California, Santa Cruz.</description>
</item>

<item>
<title>Office Hours</title>
<link>https://pascalmichaillat.org/officehours/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://pascalmichaillat.org/officehours/</guid>
<description>Schedule and location of Prof. Michaillat&amp;#39;s office hours at the University of California, Santa Cruz.</description>
</item>

</channel>
</rss>
8 changes: 4 additions & 4 deletions public/location/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<meta property="og:description" content="Pascal Michaillat&#39;s mailing addresses and office address at the University of California, Santa Cruz." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://pascalmichaillat.org/location/" /><meta property="article:section" content="" />


<meta property="article:published_time" content="2024-03-22T00:00:00+00:00" />
<meta property="article:modified_time" content="2024-03-22T00:00:00+00:00" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Location"/>
Expand Down Expand Up @@ -65,8 +65,8 @@
"articleBody": " Mailing address Economics Department\nUC Santa Cruz\n1156 High Street\nSanta Cruz, CA 95064\nOffice address Room 437 (4th floor)\nEngineering 2 Building\nUC Santa Cruz\nOffice location ",
"wordCount" : "28",
"inLanguage": "en",
"datePublished": "0001-01-01T00:00:00Z",
"dateModified": "0001-01-01T00:00:00Z",
"datePublished": "2024-03-22T00:00:00Z",
"dateModified": "2024-03-22T00:00:00Z",
"author":{
"@type": "Person",
"name": "Pascal Michaillat"
Expand Down
8 changes: 4 additions & 4 deletions public/officehours/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<meta property="og:description" content="Schedule and location of Prof. Michaillat&#39;s office hours at the University of California, Santa Cruz." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://pascalmichaillat.org/officehours/" /><meta property="article:section" content="" />


<meta property="article:published_time" content="2024-03-22T00:00:00+00:00" />
<meta property="article:modified_time" content="2024-03-22T00:00:00+00:00" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Office Hours"/>
Expand Down Expand Up @@ -65,8 +65,8 @@
"articleBody": " Schedule for Winter 2024 Day: Wednesday Time for ECON 221B students: 3:00pm–4:00pm Time for other UCSC students: 4:00pm–5:00pm Location By default office hours take place in my office . I am also available for virtual meetings upon request. Those take place in my Zoom room .\nMeeting material If we are meeting to discuss research, please send me a written description of the work that you would like to discus. Presentation slides or paper draft are perfectly fine. If you do not have those, please send a one-page description of the research. If we have already met in the past to discuss research, please send me an update on your work since our previous meeting. Include responses to each point of your to-do list from the previous meeting. Please send me the material by 8pm on the evening prior of our meeting. ",
"wordCount" : "142",
"inLanguage": "en",
"datePublished": "0001-01-01T00:00:00Z",
"dateModified": "0001-01-01T00:00:00Z",
"datePublished": "2024-03-22T00:00:00Z",
"dateModified": "2024-03-22T00:00:00Z",
"author":{
"@type": "Person",
"name": "Pascal Michaillat"
Expand Down
10 changes: 0 additions & 10 deletions public/oh.html

This file was deleted.

10 changes: 6 additions & 4 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://pascalmichaillat.org/location/</loc>
<lastmod>2024-03-22T00:00:00+00:00</lastmod>
</url><url>
<loc>https://pascalmichaillat.org/officehours/</loc>
<lastmod>2024-03-22T00:00:00+00:00</lastmod>
</url><url>
<loc>https://pascalmichaillat.org/12/</loc>
<lastmod>2024-03-04T00:00:00+00:00</lastmod>
</url><url>
Expand Down Expand Up @@ -168,9 +174,5 @@
<lastmod>2012-06-01T00:00:00+00:00</lastmod>
</url><url>
<loc>https://pascalmichaillat.org/archive/</loc>
</url><url>
<loc>https://pascalmichaillat.org/location/</loc>
</url><url>
<loc>https://pascalmichaillat.org/officehours/</loc>
</url>
</urlset>
Loading

0 comments on commit a057319

Please sign in to comment.