Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHadi Sinaee <sinaee.hadi@gmail.com>2019-08-06 20:38:36 +0300
committerHadi Sinaee <sinaee.hadi@gmail.com>2019-08-06 20:38:36 +0300
commit4c5756d5ccf0fa6205d61cc966a7a38417cc3aee (patch)
tree627513f878389afbf1810426e014728163fefea3
parent351d0baa1d4cfd66959c2af7931ab646031c3c79 (diff)
parentacab25521fe31ce4662aa5811e2316ebfd377d83 (diff)
Merge branch 'master' into develop
-rw-r--r--README.md4
-rw-r--r--layouts/partials/projects.html2
-rw-r--r--layouts/partials/publications.html2
3 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 96ca6d6..c345c80 100644
--- a/README.md
+++ b/README.md
@@ -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 }}.