From 2836ae6190500ba150c2397bb024bac891a98e6a Mon Sep 17 00:00:00 2001 From: George Cushen Date: Mon, 14 Feb 2022 21:33:31 +0000 Subject: modules: upgrade to v5.5-dev --- .gitignore | 4 +- config/_default/config.yaml | 5 +- config/_default/params.yaml | 226 ++++++++++++++++------------------------- content/admin/index.md | 1 + content/event/example/index.md | 6 +- content/home/contact.md | 31 +++++- go.mod | 4 +- go.sum | 4 - 8 files changed, 129 insertions(+), 152 deletions(-) delete mode 100644 go.sum diff --git a/.gitignore b/.gitignore index 2b8a452d..a04655b2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,9 @@ .idea/ # Hugo -/resources/ +resources/ public/ jsconfig.json node_modules/ +go.sum +.hugo_build.lock diff --git a/config/_default/config.yaml b/config/_default/config.yaml index 41d71d27..d1737bc4 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -4,8 +4,7 @@ # This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ title: Academic # Website name -baseurl: 'https://example.com/' # Website URL -copyright: '' # Footer text, e.g. '© {year} Me' +baseURL: 'https://example.com/' # Website URL ############################ ## LANGUAGE @@ -68,3 +67,5 @@ related: weight: 70 security: _merge: deep +sitemap: + _merge: deep diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 4dcae220..7b1f4f39 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -5,154 +5,104 @@ # Appearance -theme: minimal -day_night: true -font: '' -font_size: L +appearance: + theme_day: minimal + theme_night: minimal + font: minimal + font_size: L # SEO -site_type: Person -local_business_type: '' -org_name: '' -description: '' -twitter: '' - -# Contact (edit or remove options as required) - -email: test@example.org -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' +marketing: + seo: + site_type: Person + local_business_type: '' + org_name: '' + description: 'A highly-customizable Hugo academic resume theme powered by Wowchemy website builder.' + twitter: 'wowchemy' + analytics: + google_analytics: '' + baidu_tongji: '' + verification: + google: '' + baidu: '' # 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 +header: + navbar: + enable: true + align: l + show_logo: true + show_language: false + show_day_night: true + show_search: true + highlight_active_link: true + +footer: + copyright: + notice: '© {year} Me. This work is licensed under {license}' + license: + enable: true + allow_derivatives: false + share_alike: true + allow_commercial: false # Localization -date_format: 'Jan 2, 2006' -time_format: '3:04 PM' -address_format: en-us +locale: + date_format: 'Jan 2, 2006' + time_format: '3:04 PM' + address_format: en-us # Site features -highlight: true -highlight_languages: - - r -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: '' +features: + syntax_highlighter: + enable: true + extra_languages: + - r + - latex + math: + enable: false + diagram: + enable: false + privacy_pack: + enable: false + repository: + url: 'https://github.com//' + content_dir: content + branch: master + avatar: + gravatar: false + shape: circle + comment: + provider: '' + disqus: + shortname: '' + show_count: true + commento: + url: '' + search: + provider: wowchemy + algolia: + app_id: '' + api_key: '' + index_name: '' + show_logo: false + map: + provider: '' api_key: '' - index_name: '' - show_logo: false -map: - provider: '' - 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: true + zoom: 15 + +# Extensions + +extensions: + cms: + branch: master + local_backend: false + isotope: + # Enable if you use the Portfolio widget or Publication filter + enable: true + academicons: + enable: true diff --git a/content/admin/index.md b/content/admin/index.md index 04c96f80..a396feaf 100644 --- a/content/admin/index.md +++ b/content/admin/index.md @@ -1,6 +1,7 @@ --- # Generate Wowchemy CMS type: wowchemycms +private: true outputs: - wowchemycms_config - HTML diff --git a/content/event/example/index.md b/content/event/example/index.md index dcfcc4c7..5e49c169 100644 --- a/content/event/example/index.md +++ b/content/event/example/index.md @@ -17,12 +17,12 @@ abstract: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere # Talk start and end times. # End time can optionally be hidden by prefixing the line with `#`. -date: "2030-06-01T13:00:00Z" -date_end: "2030-06-01T15:00:00Z" +date: '2030-06-01T13:00:00Z' +date_end: '2030-06-01T15:00:00Z' all_day: false # Schedule page publish date (NOT talk date). -publishDate: "2017-01-01T00:00:00Z" +publishDate: '2017-01-01T00:00:00Z' authors: [] tags: [] diff --git a/content/home/contact.md b/content/home/contact.md index cdb3055f..94dac716 100644 --- a/content/home/contact.md +++ b/content/home/contact.md @@ -1,6 +1,5 @@ --- # An instance of the Contact widget. -# Documentation: https://sourcethemes.com/academic/docs/page-builder/ widget: contact # This file represents a page section. @@ -24,7 +23,35 @@ content: netlify: # Enable CAPTCHA challenge to reduce spam? captcha: false - + + # Contact details (edit or remove options as required) + email: test@example.org + 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: video + icon_pack: fas + name: Zoom Me + link: 'https://zoom.com' + design: columns: '2' --- diff --git a/go.mod b/go.mod index 6c291808..95812529 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/wowchemy/starter-hugo-academic go 1.15 require ( - github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect - github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20220214212254-70806414437a // indirect + github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220214212254-70806414437a // indirect ) diff --git a/go.sum b/go.sum deleted file mode 100644 index f97a20b3..00000000 --- a/go.sum +++ /dev/null @@ -1,4 +0,0 @@ -github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a h1:f/NgjHm7mIosNKXlJuLb95waWukCKOedFAr6/nxGsj8= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy-cms/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:Sp/AKo+2HAPi/IPHp1MEdKPmee+mzO5+efUBUPLPqPE= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a h1:mRLbuALXyYdnRJrAQt6QKCy4XeNZEooD+pSKByBjFY0= -github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20211231133358-6d4989f90f7a/go.mod h1:2iL9rdrUYyJXX2BeHKfK+QbqZlubCsaR60nQ87NRQTY= -- cgit v1.2.3