Skip to content

Commit d390918

Browse files
committed
Try wowchemy new site
1 parent 7eb5ff8 commit d390918

File tree

311 files changed

+12189
-55786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+12189
-55786
lines changed

.Rprofile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# run the global .Rprofile if it exists (you may configure blogdown options
2+
# there, too, so they apply to any blogdown projects)
3+
if (file.exists("~/.Rprofile")) {
4+
base::sys.source("~/.Rprofile", envir = environment())
5+
}
6+
7+
# a few sample options to customize the behavior of blogdown; for more options,
8+
# see https://bookdown.org/yihui/blogdown/global-options.html
9+
options(
10+
# to automatically serve the site on RStudio startup, set this option to TRUE
11+
blogdown.serve_site.startup = FALSE,
12+
# to disable knitting Rmd files on save, set this option to FALSE
13+
blogdown.knit.on_save = TRUE
14+
)
15+
16+
# fix Hugo version
17+
options(blogdown.hugo.version = "0.79.1")

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ static-old
88
themes
99
static/2*
1010
static/talks/*.Rds
11-
static/post/

LICENSE

-674
This file was deleted.

R/build.R

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# An optional custom script to run before Hugo builds your site.
2+
# You can delete it if you do not need it.

R/build2.R

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# An optional custom script to run after Hugo builds your site.
2+
# You can delete it if you do not need it.
File renamed without changes.

assets/jsconfig.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"*": [
6+
"../themes/github.com/wowchemy/wowchemy-hugo-modules/wowchemy/assets/*"
7+
]
8+
}
9+
}
10+
}

config.toml

-46
This file was deleted.

config.yaml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
theme: starter-academic
2+
title: Academic
3+
baseurl: ''
4+
copyright: ''
5+
enableGitInfo: no
6+
defaultContentLanguage: en
7+
hasCJKLanguage: no
8+
defaultContentLanguageInSubdir: no
9+
removePathAccents: yes
10+
summaryLength: 30
11+
paginate: 10
12+
enableEmoji: yes
13+
enableRobotsTXT: yes
14+
footnotereturnlinkcontents: <sup>^</sup>
15+
ignoreFiles:
16+
- \\.ipynb$
17+
- .ipynb_checkpoints$
18+
- \\.Rmd$
19+
- \\.Rmarkdown$
20+
- _cache$
21+
permalinks:
22+
authors: /author/:slug/
23+
categories: /category/:slug/
24+
event: /talk/:slug/
25+
publication_types: /publication-type/:slug/
26+
tags: /tag/:slug/
27+
outputs:
28+
home:
29+
- HTML
30+
- RSS
31+
- JSON
32+
- WebAppManifest
33+
section:
34+
- HTML
35+
- RSS
36+
mediaTypes:
37+
application/manifest+json:
38+
suffixes: webmanifest
39+
outputFormats:
40+
WebAppManifest:
41+
mediaType: application/manifest+json
42+
rel: manifest
43+
markup:
44+
defaultMarkdownHandler: goldmark
45+
goldmark:
46+
renderer:
47+
unsafe: yes
48+
highlight:
49+
codeFences: no
50+
tableOfContents:
51+
endLevel: 3
52+
startLevel: 2
53+
imaging:
54+
anchor: smart
55+
quality: 75
56+
resampleFilter: lanczos
57+
taxonomies:
58+
author: authors
59+
category: categories
60+
publication_type: publication_types
61+
tag: tags
62+
related:
63+
includeNewer: yes
64+
indices:
65+
- name: title
66+
weight: 60.0
67+
- name: summary
68+
weight: 50.0
69+
- name: tags
70+
weight: 80.0
71+
- name: categories
72+
weight: 70.0
73+
- name: authors
74+
weight: 20.0
75+
threshold: 80.0
76+
toLower: yes
77+
module:
78+
imports:
79+
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy

config/_default/languages.toml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Languages
2+
# Create a `[X]` block for each language you want, where X is the language ID.
3+
# Refer to https://sourcethemes.com/academic/docs/language/
4+
5+
# Configure the English version of the site.
6+
[en]
7+
languageCode = "en-us"
8+
# contentDir = "content/en" # Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
9+
10+
# Uncomment the lines below to configure your website in a second language.
11+
#[zh]
12+
# languageCode = "zh-Hans"
13+
# contentDir = "content/zh"
14+
# title = "Chinese website title..."
15+
# [zh.params]
16+
# description = "Site description in Chinese..."
17+
# [[zh.menu.main]]
18+
# name = "Wo"
19+
# url = "#about"
20+
# weight = 1

config/_default/menus.toml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Navigation Links
2+
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
3+
# desired widget in your `content/home/` folder.
4+
# The weight parameter defines the order that the links will appear in.
5+
6+
[[main]]
7+
name = "Demo"
8+
url = "#hero"
9+
weight = 10
10+
11+
[[main]]
12+
name = "Posts"
13+
url = "#posts"
14+
weight = 20
15+
16+
[[main]]
17+
name = "Projects"
18+
url = "#projects"
19+
weight = 30
20+
21+
[[main]]
22+
name = "Talks"
23+
url = "#talks"
24+
weight = 40
25+
26+
[[main]]
27+
name = "Publications"
28+
url = "#featured"
29+
weight = 50
30+
31+
[[main]]
32+
name = "Courses"
33+
url = "courses/"
34+
weight = 60
35+
36+
[[main]]
37+
name = "Contact"
38+
url = "#contact"
39+
weight = 70
40+
41+
# Link to a PDF of your resume/CV from the menu.
42+
# To enable, copy your resume/CV to `static/media/resume.pdf` and uncomment the lines below.
43+
# [[main]]
44+
# name = "CV"
45+
# url = "media/resume.pdf"
46+
# weight = 70

0 commit comments

Comments
 (0)