Skip to content

Commit

Permalink
deleted mock post
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnatp committed Jul 28, 2024
1 parent 8eda87a commit 5f8cf89
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 16 deletions.
2 changes: 1 addition & 1 deletion _config.landscape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ menu:
Home: /
Archives: /archives
rss: /atom.xml
banner: /image/amfoss-dark.png
banner:
subtitle: The official blog page of amFOSS
favicon: /image/favicon.jpg

Expand Down
5 changes: 5 additions & 0 deletions source/categories/events/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Internal Events
layout: category
category: events
---
2 changes: 2 additions & 0 deletions source/categories/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ layout: page
- [Hackathons](hackathons/)
- [GSoC](GSoC/)
- [Projects](projects/)
- [Internships](internships/)
- [Events](events/)
5 changes: 5 additions & 0 deletions source/categories/internships/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Internships
layout: category
category: internships
---
2 changes: 1 addition & 1 deletion themes/landscape/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ valine:
avatar: mm # gravatar style https://valine.js.org/#/avatar
lang: zh-cn # i18n: zh-cn/en
placeholder: Just go go # valine comment input placeholder(like: Please leave your footprints )
guest_info: nick,mail,link #valine comment header info
guest_info: nick,mail,link #valine comment header info
14 changes: 8 additions & 6 deletions themes/landscape/layout/_partial/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<% if (theme.subtitle || config.subtitle) { %>
<h2 id="subtitle-wrap">
<span id="subtitle"><%= theme.subtitle || config.subtitle %></span>
</h2>
<div id="subtitle-container">
<h2 id="subtitle-wrap">
<span id="subtitle"><%= theme.subtitle || config.subtitle %></span>
</h2>
</div>
<% } %>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<button id="theme-toggle" onclick="toggleTheme()">
<i class="material-icons" id="theme-icon">sunny</i>
</button>
<a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
<% for (var i in theme.menu) { %>
<a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
<% } %>
<button id="theme-toggle" onclick="toggleTheme()">
<i class="material-icons" id="theme-icon">sunny</i>
</button>
</nav>
<nav id="sub-nav">
<% if (theme.links) { %>
Expand Down
3 changes: 2 additions & 1 deletion themes/landscape/layout/_partial/post/category.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
show_count: false,
class: 'article-category',
style: 'none',
separator: ''
separator: '',
depth: 1
}) %>
</div>
<% } %>
2 changes: 1 addition & 1 deletion themes/landscape/layout/_widget/category.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="widget-wrap">
<h3 class="widget-title"><%= __('categories') %></h3>
<div class="widget widget-category">
<%- list_categories({show_count: theme.show_count}) %>
<%- list_categories({show_count: true, depth: 1}) %>
</div>
</div>
<% } %>
20 changes: 17 additions & 3 deletions themes/landscape/source/css/_partial/header.styl
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,32 @@
#header-outer
height: 100%

button

#header-inner
position: relative
overflow: hidden
z-index: 1;

#logo-image
padding-top: 35px
padding-bottom: 35px
display: block
margin: 0 auto
max-width: 100%

#header-title
text-align: center

#main-nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0;
margin: 0;
border: 0px;
background: transparent;
left: 10px;
}

#logo
text-decoration: none
color: black
Expand Down Expand Up @@ -158,8 +169,11 @@ $nav-link
cursor: pointer
&:hover, &:focus
color: #777

@media (max-width: 768px)
#banner
width: 100%
top: 10%

#subtitle
display: none
10 changes: 8 additions & 2 deletions themes/landscape/source/css/custom.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ body.light-mode {
#theme-toggle{
background: transparent;
border:0px;
left:10px;
top:5px;
cursor: pointer;
}

body.dark-mode #theme-toggle {
Expand All @@ -27,6 +26,8 @@ body.dark-mode #subtitle {
color: white;
}



body.dark-mode {
background-color: #121212;
color: #e0e0e0;
Expand Down Expand Up @@ -61,6 +62,11 @@ body.dark-mode .article-footer {
background-color: #2b2f31;
}

body.dark-mode .archive-article-inner
body.dark-mode .archive-article-header{
background-color: #222426;
}

body.dark-mode .e-content article-entry{
color: #aeb6bf;
}
Expand Down
1 change: 0 additions & 1 deletion writePost.py

This file was deleted.

0 comments on commit 5f8cf89

Please sign in to comment.