Skip to content

Commit

Permalink
Eliminate excessive indentation in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaillat committed Jul 17, 2024
1 parent 390ce53 commit 4600604
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 39 deletions.
35 changes: 17 additions & 18 deletions content/design/d5.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ The tag list is generated by default, but it can be customized through the file
The website also features [an archive](https://pascalmichaillat.org/hugo-website/archive/). The archive displays a chronological list of all papers, books, courses, and data projects. The list of categories displayed in the archive is controlled by the parameter `params:MainSections` in the `config.yml` file. The current value of that parameter is

```yml
params:MainSections: ["books","courses","papers","data"]
params:MainSections: ["books","courses","papers","data"]
```

The archive is accessible from the homepage. Add the following snippet below `menu:main:` in the `config.yml` file to make the archive available from the menu:
Expand All @@ -209,52 +209,51 @@ The template includes various social icons that are commonly used in academia. A
For instance, if your CV is called `cv.pdf` and placed in the `static` folder, an icon linking to your CV can be added as follows:

```yml
- name: CV
url: cv.pdf
- name: CV
url: cv.pdf
```
If your office hours are listed on the page `officehours.md` in the `content` folder, an icon linking to your office hours can be added as follows:

```yml
- name: Office Hours
url: officehours/
- name: Office Hours
url: officehours/
```

If your office address is listed on the page `location.md` in the `content` folder, an icon linking to your address can be added as follows:

```yml
- name: Location
url: location/
- name: Location
url: location/
```

If your Zoom room is located at `https://www.zoom.us/my/user`, it is possible to link to it by adding the following snippet:

```yml
- name: Zoom
url: https://www.zoom.us/my/user
- name: Zoom
url: https://www.zoom.us/my/user
```

If your Google Scholar profile is located at `https://scholar.google.com/citations?user=user`, link to it by adding the following snippet:

```yml
- name: Google Scholar
url: https://scholar.google.com/citations?user=user
- name: Google Scholar
url: https://scholar.google.com/citations?user=user
```

Similarly, if your GitHub profile is located at `https://github.com/user`, link to it by adding the following snippet:

```yml
- name: GitHub
url: https://github.com/user
- name: GitHub
url: https://github.com/user
```

Finally, if your email is `user@gmail.com`, you can link to it by adding the following snippet:

```yml
- name: Email
url: mailto:user@gmail.com
- name: Email
url: mailto:user@gmail.com
```


---

## Typesetting math
Expand All @@ -276,8 +275,8 @@ Most of the website produced by the template is in grayscale. For ease of naviga
It is easy to personalize the color used for links and buttons. The orange color is specified in the file `assets/css/core/theme-vars.css`. The code snippet specifying the color is:

```css
--darkcolor: #d95f0e;
--lightcolor: #fed582;
--darkcolor: #d95f0e;
--lightcolor: #fed582;
```

The two shades of orange are specifed by their hex code. Enter [other hex codes](https://www.colorhexa.com/) to modify the website's color scheme. Using the same hex codes, it is easy to produce [a new favicon](https://favicon.io/favicon-generator/) with a different color to match the website's color scheme.
Expand Down
2 changes: 1 addition & 1 deletion content/papers/7.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ title = {An Economical Business-Cycle Model},
journal = {Oxford Economic Papers},
volume = {74},
number = {2},
pages = { 382--411},
pages = {382--411},
url = {https://doi.org/10.1093/oep/gpab021}}
```

Expand Down
6 changes: 3 additions & 3 deletions public/7/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"keywords": [
"business cycles", "economic slack", "inefficiency", "matching function", "monetary policy", "optimal control", "price rigidity", "social psychology", "stabilization policy", "sufficient statistics", "unemployment gap", "wealth in the utility", "zero lower bound", "wealth tax", "IS-LM model", "tightness"
],
"articleBody": " Paper AD-AS diagrams Abstract This article develops a new model of business cycles. The model is economical in that it is solved with an aggregate demand–aggregate supply diagram, and the effects of shocks and policies are obtained by comparative statics. The model builds on two unconventional assumptions. First, producers and consumers meet through a matching function. Thus, the model features unemployment, which fluctuates in response to aggregate demand and supply shocks. Secondly, wealth enters the utility function, so the model allows for permanent zero-lower-bound episodes. In the model, the optimal monetary policy is to set the interest rate at the level that eliminates the unemployment gap. This optimal interest rate is computed from the prevailing unemployment gap and monetary multiplier (the effect of the nominal interest rate on the unemployment rate). If the unemployment gap is exceedingly large, monetary policy cannot eliminate it before reaching the zero lower bound, but a wealth tax can.\nFigure 7: Optimal monetary policy under small unemployment gap Figure 8: Optimal monetary policy under large unemployment gap Citation Michaillat, Pascal, and Emmanuel Saez. 2022. “An Economical Business-Cycle Model.” Oxford Economic Papers 74 (2): 382–411. https://doi.org/10.1093/oep/gpab021 .\n@article{MS22, author = {Pascal Michaillat and Emmanuel Saez}, year = {2022}, title = {An Economical Business-Cycle Model}, journal = {Oxford Economic Papers}, volume = {74}, number = {2}, pages = { 382--411}, url = {https://doi.org/10.1093/oep/gpab021}} Related material Presentation slides Previous version of the paper (2014) – This version of the model assumes that the government issues not only bonds but also money. The model provides a microfoundation for the IS-LM model. It can be used to analyze open-market operations and helicopter drops of money. ",
"wordCount" : "275",
"articleBody": " Paper AD-AS diagrams Abstract This article develops a new model of business cycles. The model is economical in that it is solved with an aggregate demand–aggregate supply diagram, and the effects of shocks and policies are obtained by comparative statics. The model builds on two unconventional assumptions. First, producers and consumers meet through a matching function. Thus, the model features unemployment, which fluctuates in response to aggregate demand and supply shocks. Secondly, wealth enters the utility function, so the model allows for permanent zero-lower-bound episodes. In the model, the optimal monetary policy is to set the interest rate at the level that eliminates the unemployment gap. This optimal interest rate is computed from the prevailing unemployment gap and monetary multiplier (the effect of the nominal interest rate on the unemployment rate). If the unemployment gap is exceedingly large, monetary policy cannot eliminate it before reaching the zero lower bound, but a wealth tax can.\nFigure 7: Optimal monetary policy under small unemployment gap Figure 8: Optimal monetary policy under large unemployment gap Citation Michaillat, Pascal, and Emmanuel Saez. 2022. “An Economical Business-Cycle Model.” Oxford Economic Papers 74 (2): 382–411. https://doi.org/10.1093/oep/gpab021 .\n@article{MS22, author = {Pascal Michaillat and Emmanuel Saez}, year = {2022}, title = {An Economical Business-Cycle Model}, journal = {Oxford Economic Papers}, volume = {74}, number = {2}, pages = {382--411}, url = {https://doi.org/10.1093/oep/gpab021}} Related material Presentation slides Previous version of the paper (2014) – This version of the model assumes that the government issues not only bonds but also money. The model provides a microfoundation for the IS-LM model. It can be used to analyze open-market operations and helicopter drops of money. ",
"wordCount" : "274",
"inLanguage": "en",
"image":"https://pascalmichaillat.org/7s.png","datePublished": "2022-04-01T00:00:00Z",
"dateModified": "2024-07-01T00:00:00Z",
Expand Down Expand Up @@ -218,7 +218,7 @@ <h5 id="citation">Citation</h5>
</span></span><span style="display:flex;"><span><span style="color:#836c28">journal</span> = <span style="color:#c41a16">{Oxford Economic Papers}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">volume</span> = <span style="color:#c41a16">{74}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">number</span> = <span style="color:#c41a16">{2}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">pages</span> = <span style="color:#c41a16">{ 382--411}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">pages</span> = <span style="color:#c41a16">{382--411}</span>,
</span></span><span style="display:flex;"><span><span style="color:#836c28">url</span> = <span style="color:#c41a16">{https://doi.org/10.1093/oep/gpab021}</span>}
</span></span></code></pre></div><hr>
<h5 id="related-material">Related material</h5>
Expand Down
Loading

0 comments on commit 4600604

Please sign in to comment.