-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from moyihust/master
添加主页面以及目录模板
- Loading branch information
Showing
14 changed files
with
185 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,5 @@ codekit-config.json | |
.sass-cache | ||
_asset_bundler_cache | ||
_site | ||
|
||
.git-metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
source "https://rubygems.org" | ||
source "https://gems.ruby-china.com" | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
<div class="page__footer-follow"> | ||
<ul class="social-icons"> | ||
{% if site.data.ui-text[site.locale].follow_label %} | ||
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li> | ||
{% endif %} | ||
<div class="footer-row"> | ||
<div class="footer-block footer__about"> | ||
<p>华科开放原子开源俱乐部是一个致力于促进开源文化发展、贡献优秀开源软件的活跃开源社区, | ||
我们坚信开源文化的重要性,相信共同的开源目标将会使我们变得更加强大和有影响力。</p> | ||
</div> | ||
<div class="footer-block footer__extras"> | ||
<div class="footer__contact"> | ||
<ul> | ||
<li> | ||
<a href="/wiki/intro/"> 关于我们</a> | ||
</li> | ||
<li> | ||
<a href="https://github.com/{{ site.repository }}"><i class="fab fa-fw fa-github"></i> 本站仓库</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<style> | ||
.footer-row { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
{% if site.footer.links %} | ||
{% for link in site.footer.links %} | ||
{% if link.label and link.url %} | ||
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
p{ | ||
margin: 0; | ||
} | ||
|
||
{% unless site.atom_feed.hide %} | ||
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li> | ||
{% endunless %} | ||
</ul> | ||
</div> | ||
.footer-block { | ||
flex: 1; | ||
} | ||
|
||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: splash | ||
--- | ||
|
||
{% assign news_posts = site.news | sort: 'date' | reverse %} | ||
|
||
<div class="row"> | ||
{% for post in news_posts %} | ||
<div class="col-lg-4 col-md-6 col-sm-12"> | ||
<div class="card"> | ||
{% if post.image %} | ||
<img src="{{ post.image }}" class="card-img-top" alt="{{ post.title }}"> | ||
{% endif %} | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ post.title }}</h5> | ||
<p class="card-text">{{ post.excerpt }}</p> | ||
<a href="{{ post.url }}" class="btn btn-primary">Read More</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
body.layout--home { | ||
.archive__subtitle { | ||
display: none; | ||
} | ||
|
||
.archive .list__item:first-child .archive__item-title { | ||
margin-top: 0; | ||
} | ||
} | ||
|
||
.archive-group { | ||
display: flex; | ||
justify-content: space-around; | ||
|
||
@include breakpoint($large) { | ||
font-size: 0.9em; | ||
} | ||
} | ||
|
||
.archive-group__item { | ||
flex: 1 0 0; | ||
margin-left: gutter(of 12); | ||
max-width: 100%; | ||
|
||
&:first-child { | ||
margin-left: 0; | ||
|
||
@include breakpoint($large) { | ||
max-width: 67%; | ||
} | ||
} | ||
|
||
.archive__subtitle a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
.archive__item h2 { | ||
font-size: 1.33em; | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# coding: utf-8 | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "minimal-mistakes-jekyll" | ||
spec.version = "4.24.0" | ||
spec.authors = ["Michael Rose"] | ||
|
||
spec.summary = %q{A flexible two-column Jekyll theme.} | ||
spec.homepage = "https://github.com/mmistakes/minimal-mistakes" | ||
spec.license = "MIT" | ||
|
||
spec.metadata["plugin_type"] = "theme" | ||
|
||
spec.files = `git ls-files -z`.split("\x0").select do |f| | ||
f.match(%r{^(assets|_(data|includes|layouts|sass)/|(LICENSE|README|CHANGELOG)((\.(txt|md|markdown)|$)))}i) | ||
end | ||
|
||
spec.add_runtime_dependency "jekyll", ">= 3.7", "< 5.0" | ||
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" | ||
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.3" | ||
spec.add_runtime_dependency "jekyll-gist", "~> 1.5" | ||
spec.add_runtime_dependency "jekyll-feed", "~> 0.1" | ||
spec.add_runtime_dependency "jekyll-include-cache", "~> 0.1" | ||
|
||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake", ">= 12.3.3" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
layout: splash | ||
title: "基于TEE的内核加固方案" | ||
excerpt: "王杰" | ||
--- | ||
# 基于TEE的内核加固方案 | ||
## 王杰 | ||
## 软件防御方案当TCB过大时容易受到漏洞影响,现有CPU的安全能力不断增强,利用硬件特性可以实现关键数据流的访问,软硬件协同的TEE解决方案可以提升内核安全性,同时对关键操作实现硬件加速。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
layout: splash | ||
title: "基于自适应画像的异构终端安全监测技术" | ||
excerpt: "董峰" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
layout: news-list | ||
title: "HUST OpenAtom Open Source Club" | ||
excerpt: "华中科技大学开放原子开源俱乐部" | ||
tagline: "华中科技大学开放原子开源俱乐部" | ||
permalink: / | ||
header: | ||
overlay_image: /assets/images/index.jpg | ||
overlay_filter: 0.25 | ||
actions: | ||
- label: 了解更多 | ||
url: /wiki/intro/ | ||
--- | ||
|
||
<!-- Path: _layouts/news-list.html --> | ||
<!-- Compare this snippet from _pages/index.html: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: "新闻" | ||
permalink: /news/ | ||
layout: home | ||
pagination: | ||
enabled: true | ||
collection: news | ||
--- |