File tree 3 files changed +14
-4
lines changed
3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ params:
32
32
# Customizable navbar. For a dropdown, add a "sublinks" list.
33
33
news :
34
34
title : NumPy v1.18.0
35
- content : The C-API for numpy.random defined and documented - Basic infrastructure for linking with 64-bit BLAS and LAPACK - Improved documentation
35
+ content : A new C-API for numpy.random - Basic infrastructure for linking with 64-bit BLAS and LAPACK
36
+ url : /news
36
37
37
38
shell :
38
39
title : placeholder
Original file line number Diff line number Diff line change 1
1
{{- $news := .Site.Params.news }}
2
2
{{- $title := index $news "title" }}
3
3
{{- $content := index $news "content" }}
4
+ {{- $url := index $news "url" }}
4
5
5
6
< div class ="news-container ">
6
- < div class ="news-title "> {{ $title }}</ div >
7
- < div class ="news-content "> {{ $content }}</ div >
8
- </ div >
7
+ < div class ="news-title "> < a href =" {{ $url}} " > {{ $ title }} </ a > </ div >
8
+ < div class ="news-content "> < a href =" {{ $url}} " > {{ $ content }} </ a > </ div >
9
+ </ div >
Original file line number Diff line number Diff line change 9
9
white-space : nowrap;
10
10
}
11
11
12
+ .news-container a {
13
+ color : white;
14
+ }
15
+
16
+ .news-container a : hover {
17
+ color : white;
18
+ }
19
+
12
20
.news-title {
13
21
display : flex;
14
22
letter-spacing : 1.5px ;
You can’t perform that action at this time.
0 commit comments