diff options
author | Hadi Sinaee <sinaee.hadi@gmail.com> | 2019-08-06 20:38:36 +0300 |
---|---|---|
committer | Hadi Sinaee <sinaee.hadi@gmail.com> | 2019-08-06 20:38:36 +0300 |
commit | 4c5756d5ccf0fa6205d61cc966a7a38417cc3aee (patch) | |
tree | 627513f878389afbf1810426e014728163fefea3 | |
parent | 351d0baa1d4cfd66959c2af7931ab646031c3c79 (diff) | |
parent | acab25521fe31ce4662aa5811e2316ebfd377d83 (diff) |
Merge branch 'master' into develop
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | layouts/partials/projects.html | 2 | ||||
-rw-r--r-- | layouts/partials/publications.html | 2 |
3 files changed, 5 insertions, 3 deletions
@@ -40,8 +40,8 @@ $ hugo server To kick start, copy the following configuration and paste it in `config.toml` file in your root directory. __IMPORTANT__ - - copy your profile picture named `profile.jpg` in the `static` folder - - copy your CV file in the `static` folder. Set the `cv_name` variable to your its full file name. + - copy your profile picture and name it `profile.jpg` in the `static` folder + - copy your CV file in the `static` folder. Set the `cv_name` variable to its full file name. ```toml baseURL = "https://example.edu" diff --git a/layouts/partials/projects.html b/layouts/partials/projects.html index 30e5b9c..b9f0fe1 100644 --- a/layouts/partials/projects.html +++ b/layouts/partials/projects.html @@ -1,4 +1,5 @@ <div class="introduction"> + {{ with .Site.Params.projects }} <h4>Projects</h4> <ul> {{- range $index, $projects_map := .Site.Params.projects -}} @@ -30,4 +31,5 @@ {{- end -}} </ul> + {{ end }} </div> diff --git a/layouts/partials/publications.html b/layouts/partials/publications.html index 1cd0a12..d4ece99 100644 --- a/layouts/partials/publications.html +++ b/layouts/partials/publications.html @@ -10,7 +10,7 @@ {{ if $publication.link }} <a href="{{ $publication.link }}" class="publications"> {{ $publication.name }}, </a> {{ else }} - <p class="publications">{{ $publication.name }},</p> + <p class="publications"> {{ $publication.name }}, </p> {{ end }} {{ $publication.dest | markdownify }}. |