Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Apr 18, 2021
0 parents commit a864e0b
Show file tree
Hide file tree
Showing 45 changed files with 948 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.toml]
max_line_length = 100

[*.md]
trim_trailing_whitespace = false

[layouts/shortcodes/*.html]
insert_final_newline = false
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: gcushen # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: cushen
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://paypal.me/cushen
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# IDEs
.idea/

# Hugo
/resources/
public/
jsconfig.json
node_modules/
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021-present George Cushen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Wowchemy's Online Course Template for Hugo

The **Online Course Template** empowers you easily create an online course or coaching business with our customizable yet simple all-in-one [**Wowchemy Website Builder**](https://wowchemy.com/) for [Hugo](https://github.com/gohugoio/hugo).

[Check out the latest demo](https://wowchemy.com/templates/) of what you'll get in less than 10 minutes, or [view the showcase](https://wowchemy.com/user-stories/).

[**Wowchemy**](https://wowchemy.com) makes it easy to create a beautiful website for free. Edit your site in Markdown, Jupyter, or RStudio (via Blogdown), generate it with Hugo, and deploy with GitHub or Netlify. Customize anything on your site with widgets, themes, and language packs.

- 👉 [**Get Started**](https://wowchemy.com/templates/)
- 📚 [View the **documentation**](https://wowchemy.com/docs/)
- 💬 [Chat with the **Wowchemy community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
- 🐦 Twitter: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=(%23MadeWithWowchemy%20OR%20%23MadeWithAcademic)&src=typed_query)
- 💡 [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/wowchemy/wowchemy-hugo-modules/issues)
- ⬆️ **Updating?** View the [Update Guide](https://wowchemy.com/docs/guide/update/) and [Release Notes](https://wowchemy.com/updates/)

## Crowd-funded open-source software

To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.

### [❤️ Click here to unlock rewards with sponsorship](https://wowchemy.com/sponsor/)

## Demo image credits

- [Demo course image](https://unsplash.com/photos/JKUTrJ4vK00)
- [Hero elearning icon](https://www.flaticon.com/packs/online-education-25)


[![Analytics](https://ga-beacon.appspot.com/UA-78646709-2/starter-online-course/readme?pixel)](https://github.com/igrigorik/ga-beacon)
Binary file added assets/media/contact.jpg
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/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added assets/media/icons/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions assets/media/student.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions assets/scss/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Remove shadow under navbar
.navbar {
box-shadow: none;
}

// Full width Portfolio filter toolbar
.btn-toolbar .btn-group {
flex: 1;
}

// Custom section spacing
.home-section {
padding: 1.5rem 0 1.5rem 0;
}

.section-heading {
margin-bottom: 3rem !important;
}

// Center CTA button
.cta-group {
justify-content: center;
}
76 changes: 76 additions & 0 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# 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: Online Courses # Website name
baseurl: '' # 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
- path: github.com/wowchemy/wowchemy-hugo-modules/wowchemy

############################
## 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/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
publication_types: '/publication-type/:slug/'
disableAliases: true
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
section: [HTML, RSS]
markup:
defaultMarkdownHandler: goldmark
goldmark:
renderer:
unsafe: true
highlight:
codeFences: false
tableOfContents:
startLevel: 2
endLevel: 3
imaging:
resampleFilter: lanczos
quality: 75
anchor: smart
timeout: 600000
taxonomies:
tag: tags
category: categories
publication_type: publication_types
author: authors
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
23 changes: 23 additions & 0 deletions config/_default/menus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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: Home
url: '/'
weight: 10
- name: Courses
url: '/course'
weight: 20
identifier: courses
- name: Data science
url: '/course/example/'
weight: 10
parent: courses
- name: Blog
url: '/post'
weight: 30
- name: Contact
url: '/contact'
weight: 60
118 changes: 118 additions & 0 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# 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: custom
day_night: false
font: ''
font_size: L

# SEO

site_type: Organization
local_business_type: ''
org_name: ''
description: ''
twitter: ''

# Contact (edit or remove options as required)

email: [email protected]
appointment_url: 'https://calendly.com'
contact_links:
- icon: comments
icon_pack: fas
name: Discuss on the forum
link: 'https://github.com/wowchemy/wowchemy-hugo-modules/discussions'

# 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: false
highlight_languages: []
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
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
marketing:
google_analytics: ''
google_tag_manager: ''
google_site_verification: ''
baidu_site_verification: ''
baidu_tongji: ''
cms:
local_backend: false
icon:
pack:
ai: false
7 changes: 7 additions & 0 deletions content/admin/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
# Generate Wowchemy CMS
type: wowchemycms
outputs:
- wowchemycms_config
- HTML
---
Loading

0 comments on commit a864e0b

Please sign in to comment.