Skip to content

Commit 5f8cf89

Browse files
committed
deleted mock post
1 parent 8eda87a commit 5f8cf89

File tree

11 files changed

+50
-16
lines changed

11 files changed

+50
-16
lines changed

_config.landscape.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ menu:
22
Home: /
33
Archives: /archives
44
rss: /atom.xml
5-
banner: /image/amfoss-dark.png
5+
banner:
66
subtitle: The official blog page of amFOSS
77
favicon: /image/favicon.jpg
88

source/categories/events/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Internal Events
3+
layout: category
4+
category: events
5+
---

source/categories/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ layout: page
66
- [Hackathons](hackathons/)
77
- [GSoC](GSoC/)
88
- [Projects](projects/)
9+
- [Internships](internships/)
10+
- [Events](events/)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Internships
3+
layout: category
4+
category: internships
5+
---

themes/landscape/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ valine:
8686
avatar: mm # gravatar style https://valine.js.org/#/avatar
8787
lang: zh-cn # i18n: zh-cn/en
8888
placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints )
89-
guest_info: nick,mail,link #valine comment header info
89+
guest_info: nick,mail,link #valine comment header info

themes/landscape/layout/_partial/header.ejs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,22 @@
66
<div id="header-outer" class="outer">
77
<div id="header-title" class="inner">
88
<% if (theme.subtitle || config.subtitle) { %>
9-
<h2 id="subtitle-wrap">
10-
<span id="subtitle"><%= theme.subtitle || config.subtitle %></span>
11-
</h2>
9+
<div id="subtitle-container">
10+
<h2 id="subtitle-wrap">
11+
<span id="subtitle"><%= theme.subtitle || config.subtitle %></span>
12+
</h2>
13+
</div>
1214
<% } %>
1315
</div>
1416
<div id="header-inner" class="inner">
1517
<nav id="main-nav">
16-
<button id="theme-toggle" onclick="toggleTheme()">
17-
<i class="material-icons" id="theme-icon">sunny</i>
18-
</button>
1918
<a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
2019
<% for (var i in theme.menu) { %>
2120
<a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
2221
<% } %>
22+
<button id="theme-toggle" onclick="toggleTheme()">
23+
<i class="material-icons" id="theme-icon">sunny</i>
24+
</button>
2325
</nav>
2426
<nav id="sub-nav">
2527
<% if (theme.links) { %>

themes/landscape/layout/_partial/post/category.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
show_count: false,
55
class: 'article-category',
66
style: 'none',
7-
separator: ''
7+
separator: '',
8+
depth: 1
89
}) %>
910
</div>
1011
<% } %>

themes/landscape/layout/_widget/category.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="widget-wrap">
33
<h3 class="widget-title"><%= __('categories') %></h3>
44
<div class="widget widget-category">
5-
<%- list_categories({show_count: theme.show_count}) %>
5+
<%- list_categories({show_count: true, depth: 1}) %>
66
</div>
77
</div>
88
<% } %>

themes/landscape/source/css/_partial/header.styl

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,32 @@
1818
#header-outer
1919
height: 100%
2020

21-
button
22-
2321
#header-inner
2422
position: relative
2523
overflow: hidden
2624
z-index: 1;
2725

2826
#logo-image
27+
padding-top: 35px
28+
padding-bottom: 35px
2929
display: block
3030
margin: 0 auto
3131
max-width: 100%
3232

3333
#header-title
3434
text-align: center
3535

36+
#main-nav {
37+
display: flex;
38+
justify-content: space-between;
39+
align-items: center;
40+
padding: 0;
41+
margin: 0;
42+
border: 0px;
43+
background: transparent;
44+
left: 10px;
45+
}
46+
3647
#logo
3748
text-decoration: none
3849
color: black
@@ -158,8 +169,11 @@ $nav-link
158169
cursor: pointer
159170
&:hover, &:focus
160171
color: #777
161-
172+
162173
@media (max-width: 768px)
163174
#banner
164175
width: 100%
165176
top: 10%
177+
178+
#subtitle
179+
display: none

themes/landscape/source/css/custom.styl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ body.light-mode {
77
#theme-toggle{
88
background: transparent;
99
border:0px;
10-
left:10px;
11-
top:5px;
10+
cursor: pointer;
1211
}
1312

1413
body.dark-mode #theme-toggle {
@@ -27,6 +26,8 @@ body.dark-mode #subtitle {
2726
color: white;
2827
}
2928

29+
30+
3031
body.dark-mode {
3132
background-color: #121212;
3233
color: #e0e0e0;
@@ -61,6 +62,11 @@ body.dark-mode .article-footer {
6162
background-color: #2b2f31;
6263
}
6364

65+
body.dark-mode .archive-article-inner
66+
body.dark-mode .archive-article-header{
67+
background-color: #222426;
68+
}
69+
6470
body.dark-mode .e-content article-entry{
6571
color: #aeb6bf;
6672
}

0 commit comments

Comments
 (0)