Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
ljrcore committed Apr 10, 2020
1 parent b812aa6 commit 3e8919d
Show file tree
Hide file tree
Showing 216 changed files with 40,431 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
themes/
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

183 changes: 183 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
baseurl = "https://example.org"
title = "Linux内核之旅"
theme = "hugo-universal-theme"
# themesDir = "../.."
languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "zh"
# Enable comments by entering your Disqus shortname
#disqusShortname = "devcows"
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""

# Define the number of posts per page
paginate = 10

[menu]

# Main menu

[[menu.main]]
identifier="home"
name = "主页"
url = "/"
weight = 1

[[menu.main]]
identifier="blog"
name = "博客"
url = "/blog/"
weight = 2

[[menu.main]]
identifier = "github"
name = "github"
url = "https://github.com/linuxkerneltravel/LearningLinux"
weight = 3

[[menu.main]]
identifier = "mooc"
name = "mooc"
url = "https://next.xuetangx.com/course/XIYOU08091001441/1516763"
weight = 4

[[menu.main]]
identifier = "contact"
name = "关于"
url = "/contact/"
weight = 6


# Top bar social links menu

[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://github.com/devcows/hugo-universal-theme"
pre = "<i class='fab fa-2x fa-github'></i>"

[[menu.topbar]]
weight = 2
name = "Facebook"
url = "http://facebook.com"
pre = "<i class='fab fa-2x fa-facebook'></i>"

[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
pre = "<i class='fab fa-2x fa-twitter'></i>"

[[menu.topbar]]
weight = 4
name = "Email"
url = "mailto:[email protected]"
pre = "<i class='fas fa-2x fa-envelope'></i>"


[params]


viewMorePostLink = "/blog/"
author = "DevCows"
defaultKeywords = ["devows", "hugo", "go"]
mainSections = ["blog"]
defaultDescription = "Site template made by devcows using hugo"

# Social media
facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE')
twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@')
default_sharing_image = "img/sharing-default.png"

# Google Maps API key (if not set will default to not passing a key.)
googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"

# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "default"

# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
# email. Visitors can send up to a 1000 emails each month for free.
#
# What you need to do for the setup?
#
# - set your email address under 'email' below
# - upload the generated site to your server
# - send a dummy email yourself to confirm your account
# - click the confirm link in the email from www.formspree.io
# - you're done. Happy mailing!
#
# Enable the contact form by entering your Formspree.io email
#email = "[email protected]"
#contact_form_ajax = false

about_us = "<p>请关注我们的微信公众号:Linux内核之旅</p> <br><p> <img src='http://ww1.sinaimg.cn/large/005NFTS2ly1gdomzdbh19j3094091myj.jpg' alt='Linux内核之旅微信公众号' width='128' height='128'></p>"
copyright = "Copyright (c), linuxkerneltravel, all rights reserved."

# Format dates with Go's time formatting
date_format = "2020-04-07"

logo = "img/logo.png"
logo_small = "img/logo-small.png"




[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"

# Enable or disable top bar with social icons
[params.topbar]
enable = false
text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or [email protected].</p>
<p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fas fa-phone"></i></a>
<a href="#" data-animate-hover="pulse"><i class="fas fa-envelope"></i></a>
</p>
"""

# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true
tags = false
search = false

[params.carousel]
enable = true
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.

[params.features]
enable = false
# All features are defined in their own files. You can find example items
# at 'exampleSite/data/features'.
# For more informtion take a look at the README.

[params.testimonials]
enable = true
# All testimonials are defined in their own files. You can find example items
# at 'exampleSite/data/testimonials'.
# For more informtion take a look at the README.
title = "Linux内核之旅社区委员会"
subtitle = "Linux内核之旅致力于传播开源文化,教授Linux内核知识。目前我们有五大平台,包括Linux内核之旅网站、GitHub、微信公众号“Linux内核之旅”、学堂在线mooc和bilibili内核视频站。以下为部分社区成员:"

[params.see_more]
enable = true
icon = "far fa-file-alt"
title = "和我一起学习Linux内核吧!"
subtitle = "你可以在我们的GitHub上提交你的代码,也可以给我们的代码打补丁,在学堂在线mooc平台《Linux内核分析与应用》课程中抛出你的问题,就有机会获得陈莉君教授的答疑。 "
link_url = "https://next.xuetangx.com/course/XIYOU08091001441/1516763"
link_text = "点击免费报名《Linux内核分析与应用》课程"

[params.clients]
enable = false
# All clients are defined in their own files. You can find example items
# at 'exampleSite/data/clients'.
# For more informtion take a look at the README.
title = "其他平台"
subtitle = ""

[params.recent_posts]
enable = true
title = "最新内核博客"
subtitle = ""
Loading

0 comments on commit 3e8919d

Please sign in to comment.