diff --git a/layouts/people/single.html b/layouts/people/single.html index 0c7da3a..a34b43e 100644 --- a/layouts/people/single.html +++ b/layouts/people/single.html @@ -7,13 +7,16 @@
+ {{ $motto := .Params.motto }} + {{ with $motto}}

- {{ with .Params.motto }} + {{ with $motto }} {{ . }} {{ else }} “红专并进,理实交融” {{ end }}

+ {{ end }}
@@ -140,9 +143,14 @@

- {{- partial "paper1.html" . -}} + {{ with .Params.hidePubs }} + {{ else}} + {{- partial "paper1.html" . -}} + {{ end }} - + {{ with .Params.otherPubs}} + {{- partial "paper2.html" . -}} + {{ end }}

{{ if .Param "aplayer" }} diff --git a/static/css/style3People.css b/static/css/style3People.css index 9bd51ad..e25493a 100644 --- a/static/css/style3People.css +++ b/static/css/style3People.css @@ -114,7 +114,7 @@ img:hover { .stick-motto-bar{ position: relative; - top:40px; + /* top:40px; */ /* height: 100vh; */ background-color: rgb(247, 247, 247); /* display: flex; */