Skip to content

Commit

Permalink
NEW from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandomayer committed Oct 11, 2021
1 parent ddeae82 commit 29a8892
Show file tree
Hide file tree
Showing 662 changed files with 50,285 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# REMEMBER to restart R after you modify and save this file!

# First, execute the global .Rprofile if it exists. You may configure blogdown
# options there, too, so they apply to any blogdown projects. Feel free to
# ignore this part if it sounds too complicated to you.
if (file.exists("~/.Rprofile")) {
base::sys.source("~/.Rprofile", envir = environment())
}

# Now set options to customize the behavior of blogdown for this project. Below
# are a few sample options; for more options, see
# https://bookdown.org/yihui/blogdown/global-options.html
options(
# to automatically serve the site on RStudio startup, set this option to TRUE
blogdown.serve_site.startup = FALSE,
# to disable knitting Rmd files on save, set this option to FALSE
blogdown.knit.on_save = TRUE,
# build .Rmd to .html (via Pandoc); to build to Markdown, set this option to 'markdown'
blogdown.method = 'html'
)

# fix Hugo version
options(blogdown.hugo.version = "0.88.1")
2 changes: 2 additions & 0 deletions R/build.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# An optional custom script to run before Hugo builds your site.
# You can delete it if you do not need it.
2 changes: 2 additions & 0 deletions R/build2.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# An optional custom script to run after Hugo builds your site.
# You can delete it if you do not need it.
10 changes: 10 additions & 0 deletions assets/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": [
"../themes/github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5/assets/*"
]
}
}
}
Binary file added assets/media/albums/themes/theme-1950s.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-apogee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-forest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-ocean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/albums/themes/theme-strawberry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions assets/media/icons/brands/org-gc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions assets/media/icons/brands/org-x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/media/open-book.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/scss/template.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Smaller font for longer names
.portrait-title h2 {
font-size: 1.5rem;
}
70 changes: 70 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
theme: "starter-hugo-academic"
# Configuration of Hugo
# Guide: https://wowchemy.com/docs/getting-started/
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

title: Academic # Website name
baseurl: 'https://academic-demo.netlify.app/' # Website URL
copyright: '' # Footer text, e.g. '© {year} Me'

############################
## LANGUAGE
############################

defaultContentLanguage: en
hasCJKLanguage: false
defaultContentLanguageInSubdir: false
removePathAccents: true

############################
## MODULES
############################

module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5

############################
## ADVANCED
############################

enableGitInfo: false
summaryLength: 30
paginate: 10
enableEmoji: true
enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
permalinks:
event: '/talk/:slug/'
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
publication_types: '/publication-type/:slug/'
disableAliases: true
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
section: [HTML, RSS]
imaging:
resampleFilter: lanczos
quality: 75
anchor: smart
timeout: 600000
taxonomies:
tag: tags
category: categories
publication_type: publication_types
author: authors
markup:
_merge: deep
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
22 changes: 22 additions & 0 deletions config/_default/languages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Languages
# Create a section for each of your site's languages.
# Documentation: https://wowchemy.com/docs/guide/language/

# Default language
en:
languageCode: en-us
# Uncomment for multi-lingual sites, and move English content into `en` sub-folder.
#contentDir: content/en

# Uncomment the lines below to configure your website in a second language.
#zh:
# languageCode: zh-Hans
# contentDir: content/zh
# title: Chinese website title...
# params:
# description: Site description in Chinese...
# menu:
# main:
# - name: 传
# url: '#about'
# weight: 1
27 changes: 27 additions & 0 deletions config/_default/menus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Navigation Links
# To link a homepage widget, specify the URL as a hash `#` followed by the filename of the
# desired widget in your `content/home/` folder.
# The weight parameter defines the order that the links will appear in.

main:
- name: Demo
url: '#about'
weight: 10
- name: Posts
url: '#posts'
weight: 20
- name: Projects
url: '#projects'
weight: 30
- name: Talks
url: '#talks'
weight: 40
- name: Publications
url: '#featured'
weight: 50
- name: Courses
url: courses/
weight: 60
- name: Contact
url: '#contact'
weight: 70
160 changes: 160 additions & 0 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# SITE SETUP
# Guide: https://wowchemy.com/docs/getting-started/
# Documentation: https://wowchemy.com/docs/
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

# Appearance

theme: minimal
day_night: true
font: ''
font_size: L

# SEO

site_type: Person
local_business_type: ''
org_name: ''
description: ''
twitter: ''

# Contact (edit or remove options as required)

email: [email protected]
phone: 888 888 88 88
address:
street: 450 Serra Mall
city: Stanford
region: CA
postcode: '94305'
country: United States
country_code: US
coordinates:
latitude: '37.4275'
longitude: '-122.1697'
directions: Enter Building 1 and take the stairs to Office 200 on Floor 2
office_hours:
- 'Monday 10:00 to 13:00'
- 'Wednesday 09:00 to 10:00'
appointment_url: 'https://calendly.com'
contact_links:
- icon: twitter
icon_pack: fab
name: DM Me
link: 'https://twitter.com/Twitter'
- icon: skype
icon_pack: fab
name: Skype Me
link: 'skype:echo123?call'
- icon: keybase
icon_pack: fab
name: Chat on Keybase
link: 'https://keybase.io/'
- icon: comments
icon_pack: fas
name: Discuss on Forum
link: 'https://discourse.gohugo.io'

# Site header

main_menu:
enable: true
align: l
show_logo: true
show_language: false
show_day_night: true
show_search: true
highlight_active_link: true

# Localization

date_format: 'Jan 2, 2006'
time_format: '3:04 PM'
address_format: en-us

# Site features

highlight: true
highlight_languages:
- r
- python
- latex
math: false
diagram: false
privacy_pack: false
edit_page:
repo_url: ''
content_dir: ''
repo_branch: main
editable:
page: false
post: false
book: false
show_related:
book: true
page: false
post: true
project: true
publication: true
event: true
reading_time: true
section_pager: false
docs_section_pager: true
sharing: true
copyright_license:
enable: false
allow_derivatives: false
share_alike: true
allow_commercial: false
notice: 'This work is licensed under {license}'
abstract_length: 135
plugins_js: []
avatar:
gravatar: false
shape: circle
publications:
date_format: January 2006
citation_style: apa
projects:
post_view: 2
publication_view: 2
talk_view: 2
breadcrumb:
page_types:
book: true
comments:
provider: ''
commentable:
post: true
book: true
project: true
publication: true
event: true
disqus:
shortname: ''
show_count: true
commento:
url: ''
search:
provider: wowchemy
algolia:
app_id: ''
api_key: ''
index_name: ''
show_logo: false
map:
provider: mapnik
api_key: ''
zoom: 15
marketing:
google_analytics: ''
google_tag_manager: ''
google_site_verification: ''
baidu_site_verification: ''
baidu_tongji: ''
cms:
branch: master
local_backend: false
icon:
pack:
ai: false
5 changes: 5 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
summary: null
title: null
type: widget_page
---
6 changes: 6 additions & 0 deletions content/admin/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
outputs:
- wowchemycms_config
- HTML
type: wowchemycms
---
Loading

0 comments on commit 29a8892

Please sign in to comment.