Ver código fonte

Merge https://github.com/gcushen/hugo-academic into master

Xℹ Ruoyao 4 anos atrás
pai
commit
c43b1b94ef
100 arquivos alterados com 451 adições e 451 exclusões
  1. 1 1
      .editorconfig
  2. 37 101
      README.md
  3. 0 18
      assets/scss/academic/_footer.scss
  4. 1 0
      exampleSite/config/_default/config.toml
  5. 2 10
      exampleSite/config/_default/params.toml
  6. 22 18
      exampleSite/content/authors/admin/_index.md
  7. 17 10
      exampleSite/content/home/about.md
  8. 44 43
      exampleSite/content/home/accomplishments.md
  9. 22 16
      exampleSite/content/home/contact.md
  10. 27 49
      exampleSite/content/home/demo.md
  11. 39 37
      exampleSite/content/home/experience.md
  12. 31 59
      exampleSite/content/home/featured.md
  13. 6 4
      exampleSite/content/home/index.md
  14. 24 18
      exampleSite/content/home/tags.md
  15. 34 60
      exampleSite/content/home/talks.md
  16. 16 4
      exampleSite/content/post/writing-technical-content/index.md
  17. 77 0
      exampleSite/content/post/writing-technical-content/line-chart.json
  18. 0 0
      exampleSite/resources/_gen/assets/scss/scss/main.scss_6c95cc1249b26b124274204dbf970c34.content
  19. BIN
      exampleSite/static/media/demo_resume.pdf
  20. 1 1
      go.mod
  21. 0 0
      themes.png
  22. 0 0
      wowchemy/archetypes/authors/_index.md
  23. 0 0
      wowchemy/archetypes/authors/avatar.jpg
  24. 0 0
      wowchemy/archetypes/default.md
  25. 0 0
      wowchemy/archetypes/docs.md
  26. 0 0
      wowchemy/archetypes/home.md
  27. 0 0
      wowchemy/archetypes/post/index.md
  28. 0 0
      wowchemy/archetypes/project/index.md
  29. 0 0
      wowchemy/archetypes/publication/index.md
  30. 0 0
      wowchemy/archetypes/slides/index.md
  31. 0 0
      wowchemy/archetypes/talk/index.md
  32. 0 0
      wowchemy/assets/css/reveal.css
  33. 0 0
      wowchemy/assets/css/reveal_custom.css
  34. 0 0
      wowchemy/assets/images/icon.png
  35. 0 0
      wowchemy/assets/js/_vendor/bootstrap.min.js
  36. 0 0
      wowchemy/assets/js/academic-search.js
  37. 3 2
      wowchemy/assets/js/academic.js
  38. 0 0
      wowchemy/assets/js/algolia-search.js
  39. 47 0
      wowchemy/assets/js/load-theme.js
  40. 0 0
      wowchemy/assets/js/mathjax-config.js
  41. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_alert.scss
  42. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_badge.scss
  43. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_breadcrumb.scss
  44. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_button-group.scss
  45. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_buttons.scss
  46. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_card.scss
  47. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_carousel.scss
  48. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_close.scss
  49. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_code.scss
  50. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_custom-forms.scss
  51. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_dropdown.scss
  52. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_forms.scss
  53. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_functions.scss
  54. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_grid.scss
  55. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_images.scss
  56. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_input-group.scss
  57. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_jumbotron.scss
  58. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_list-group.scss
  59. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_media.scss
  60. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_mixins.scss
  61. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_modal.scss
  62. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_nav.scss
  63. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_navbar.scss
  64. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_pagination.scss
  65. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_popover.scss
  66. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_print.scss
  67. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_progress.scss
  68. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_reboot.scss
  69. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_root.scss
  70. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_spinners.scss
  71. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_tables.scss
  72. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_toasts.scss
  73. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_tooltip.scss
  74. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_transitions.scss
  75. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_type.scss
  76. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_utilities.scss
  77. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_variables.scss
  78. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/_vendor/_rfs.scss
  79. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/bootstrap-grid.scss
  80. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/bootstrap-reboot.scss
  81. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/bootstrap.scss
  82. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_alert.scss
  83. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_background-variant.scss
  84. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_badge.scss
  85. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_border-radius.scss
  86. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_box-shadow.scss
  87. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_breakpoints.scss
  88. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_buttons.scss
  89. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_caret.scss
  90. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_clearfix.scss
  91. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_deprecate.scss
  92. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_float.scss
  93. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_forms.scss
  94. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_gradients.scss
  95. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_grid-framework.scss
  96. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_grid.scss
  97. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_hover.scss
  98. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_image.scss
  99. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_list-group.scss
  100. 0 0
      wowchemy/assets/scss/_vendor/bootstrap/mixins/_lists.scss

+ 1 - 1
.editorconfig

@@ -16,5 +16,5 @@ max_line_length = 100
 [*.md]
 trim_trailing_whitespace = false
 
-[{layouts/shortcodes/*.html, layouts/_default/_markup/*.html}]
+[{*/layouts/shortcodes/*.html, */layouts/_default/_markup/*.html}]
 insert_final_newline = false

+ 37 - 101
README.md

@@ -1,32 +1,41 @@
-<p align="center"><a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener"><img src="https://sourcethemes.com/academic/img/logo_200px.png" alt="Academic logo"></a></p>
+<!--<p align="center"><a href="https://wowchemy.com" target="_blank" rel="noopener"><img src="https://wowchemy.com/img/logo_200px.png" alt="Wowchemy Website Builder"></a></p>-->
 
-# [Academic](https://sourcethemes.com/academic/): the website builder for [Hugo](https://gohugo.io)
+# [Wowchemy](https://wowchemy.com): the website builder for [Hugo](https://gohugo.io)
 
-### The Page Builder to Easily Create Professional Websites :pencil2: :newspaper: :rocket:
+### The Page Builder to Easily Create Professional Websites ✏️ 📰 🚀
 
-**Create _any_ kind of website for free with Academic using Markdown, Jupyter, or RStudio. Choose a beautiful color theme and build anything with the Page Builder - over 50 _widgets_, _themes_, and _language packs_ included!**
+**Create _any_ kind of website for free with Wowchemy. Write using Markdown, Jupyter, or RStudio. Choose a beautiful template, color theme, and font. Build anything with the Page Builder - over 50 _widgets_, _themes_, and _language packs_ included!**
 
-[Check out the latest **demo**](https://academic-demo.netlify.app) of what you'll get in less than 10 minutes, or [view the **showcase**](https://sourcethemes.com/academic/user-stories/) of personal, project, and business sites.
+[Check out the latest **demos**](https://wowchemy.com/templates/) of what you'll get in less than 10 minutes, or [view the **showcase**](https://wowchemy.com/user-stories/) of personal, project, and business sites.
 
-- 👉 [**Get Started**](https://sourcethemes.com/academic/docs/install/)
-- 📚 [View the **documentation**](https://sourcethemes.com/academic/docs/)
-- 💬 [Chat with the **Academic community**](https://spectrum.chat/academic) or [**Hugo community**](https://discourse.gohugo.io)
-- :heart: **Support development** of Academic:
-  - :heart: [**Become a backer** on GitHub or Patreon to **unlock rewards and extra features**](https://sourcethemes.com/academic/plans/)
-  - ☕️ [**Donate a coffee**](https://paypal.me/cushen)
-  - :woman_technologist: [**Contribute**](https://sourcethemes.com/academic/docs/contribute/)
-- 🐦 Twitter: [@source_themes](https://twitter.com/source_themes) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithAcademic](https://twitter.com/search?q=%23MadeWithAcademic&src=typd)
-- 💡 [Request a **feature** or report a **bug**](https://github.com/gcushen/hugo-academic/issues)
-- ⬆️ **Updating?** View the [Update Guide](https://sourcethemes.com/academic/docs/update/) and [Release Notes](https://sourcethemes.com/academic/updates/)
+- 👉 [**Get Started**](https://wowchemy.com/docs/install/)
+- 📚 [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 Wowchemy?** View the [Update Guide](https://wowchemy.com/docs/update/) and [Release Notes](https://wowchemy.com/updates/)
 
-[![Screenshot](https://raw.githubusercontent.com/gcushen/hugo-academic/master/academic.png)](https://github.com/gcushen/hugo-academic/)
+## 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/plans/)
+
+## Ecosystem
+
+* **[Hugo Academic CLI](https://github.com/wowchemy/hugo-academic-cli/):** Automatically import academic publications from BibTeX
+* **[Hugo Assistant](https://github.com/sourcethemes/hugo-assistant):** Scripts to help migrate content to new versions of Hugo
+
+## Features
+
+[![Screenshot](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/academic.png)](https://wowchemy.com)
 
 **Key features:**
 
-- **Page builder** - Create *anything* with [**widgets**](https://sourcethemes.com/academic/docs/page-builder/) and [**elements**](https://sourcethemes.com/academic/docs/writing-markdown-latex/)
+- **Page builder** - Create *anything* with [**widgets**](https://wowchemy.com/docs/page-builder/) and [**elements**](https://wowchemy.com/docs/writing-markdown-latex/)
 - **Edit any type of content** - Blog posts, publications, talks, slides, projects, and more!
-- **Create content** in [**Markdown**](https://sourcethemes.com/academic/docs/writing-markdown-latex/), [**Jupyter**](https://sourcethemes.com/academic/docs/jupyter/), or [**RStudio**](https://sourcethemes.com/academic/docs/install/#install-with-rstudio)
-- **Plugin System** - Fully customizable [**color** and **font themes**](https://sourcethemes.com/academic/themes/)
+- **Create content** in [**Markdown**](https://wowchemy.com/docs/writing-markdown-latex/), [**Jupyter**](https://wowchemy.com/docs/import/jupyter/), or [**RStudio**](https://wowchemy.com/docs/install-locally/)
+- **Plugin System** - Fully customizable [**color** and **font themes**](https://wowchemy.com/templates/)
 - **Display Code and Math** - Code highlighting and [LaTeX math](https://en.wikibooks.org/wiki/LaTeX/Mathematics) supported
 - **Integrations** - [Google Analytics](https://analytics.google.com), [Disqus commenting](https://disqus.com), Maps, Contact Forms, and more!
 - **Beautiful Site** - Simple and refreshing one page design
@@ -41,99 +50,26 @@
 
 ## Themes
 
-Academic comes with **automatic day (light) and night (dark) mode** built-in. Alternatively, click the sun/moon icon in the top right of the [Demo](https://academic-demo.netlify.app) to set your preferred mode!
+Wowchemy comes with **automatic day (light) and night (dark) mode** built-in. Alternatively, click the moon icon in the top right of one of the [Demos](https://wowchemy.com/templates/) to set your preferred mode!
 
-Choose a stunning theme for your site and [customize it](https://sourcethemes.com/academic/docs/customization/#custom-theme) to your liking:
+Choose a stunning theme for your site and [customize it](https://wowchemy.com/docs/customization/#custom-theme) to your liking:
 
-[![Themes](https://raw.githubusercontent.com/gcushen/hugo-academic/master/images/themes.png)](https://sourcethemes.com/academic/themes/)
+[![Themes](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/master/themes.png)](https://wowchemy.com/templates/)
 
-[Browse more themes...](https://sourcethemes.com/academic/themes/)
+[Browse more templates and themes...](https://wowchemy.com/templates/)
 
 ## The Future of Technical Content Writing
 
-[![Writing technical content](https://sourcethemes.com/academic/img/docs/writing-technical-content.gif)](https://academic-demo.netlify.apppost/writing-technical-content/)
-
-## Ecosystem
-
-* **[Academic Admin](https://github.com/sourcethemes/academic-admin):** An admin tool to import publications from BibTeX or import assets for an offline site
-* **[Academic Scripts](https://github.com/sourcethemes/academic-scripts):** Scripts to help migrate content to new versions of Academic
-
-## Create your site
-
-You can choose from one of the following four methods to install:
-
-* **one-minute Github/Gitlab install using your web browser (recommended)**
-* install on your computer using Git with the Command Prompt/Terminal app
-* install on your computer by downloading the ZIP files
-* install on your computer with RStudio
-
-### Create your site with GitHub
-
-[**Create your site now with GitHub** :rocket:](https://sourcethemes.com/academic/docs/install/)
-
-### Create your site on your computer with Git
-
-Prerequisites:
-
-* [Download and install Git](https://git-scm.com/downloads)
-* [Download and install Hugo Extended v0.73-v0.74](https://gohugo.io/getting-started/installing/#quick-install)
-
-Install:
-
-1. [Fork](https://github.com/sourcethemes/academic-kickstart#fork-destination-box) the *Academic Kickstart* repository to create a new website
-   * If you already created your site with **Netlify**, then skip this step
-2. Clone your fork to your computer with Git, replacing `sourcethemes` in the command below with your GitHub username: 
-
-    ```bash
-    git clone https://github.com/sourcethemes/academic-kickstart.git My_Website
-    ```
-    
-3. Initialize the theme:
-
-    ```bash
-    cd My_Website
-    git submodule update --init --recursive
-    ```
-
-### Create your site on your computer _without_ Git
-
-Prerequisites:
-
-* [Download and install Hugo Extended v0.73-v0.74](https://gohugo.io/getting-started/installing/#quick-install)
-
-Install:
-
-1. [Download](https://github.com/sourcethemes/academic-kickstart/archive/master.zip) and extract *Academic Kickstart*
-2. [Download](https://github.com/gcushen/hugo-academic/archive/master.zip) and extract the *Academic theme* files from the `hugo-academic-master` folder to the `themes/academic/` folder in *Academic Kickstart*
-
-### Create your site with RStudio
-
-[Install Academic with RStudio](http://localhost:59000/academic/docs/install-locally/#install-with-rstudio)
-
-## Demo content
-
-For inspiration, refer to the [Markdown content](https://github.com/gcushen/hugo-academic/tree/master/exampleSite) which powers the [Demo](https://academic-demo.netlify.app).
-
-If you wish to initialise your site with the demo content, copy the contents of the `themes/academic/exampleSite/` folder to your website root folder, overwriting existing files if necessary. The `exampleSite` folder contains an example config file and content to help you get started. The following command can be used to accomplish this:
-
-```bash
-cp -av themes/academic/exampleSite/* .
-```
-
-## Get Started
-
-[View the guide to Personalize and Deploy your new site](https://sourcethemes.com/academic/docs/get-started/).
-
-## Updating
+[![Writing technical content](https://wowchemy.com/img/docs/writing-technical-content.gif)](https://academic-demo.netlify.app/post/writing-technical-content/)
 
-[View the Update Guide](https://sourcethemes.com/academic/docs/update/).
+## Join the community
 
-Feel free to *star* the project on [Github](https://github.com/gcushen/hugo-academic/) and follow [@source_themes](https://twitter.com/source_themes) on Twitter to help keep track of [updates](https://sourcethemes.com/academic/updates).
+Feel free to *star* the project on [Github](https://github.com/wowchemy/wowchemy-hugo-modules), [join the community](https://discord.gg/z8wNYzb) on Discord, and follow [@wowchemy](https://twitter.com/wowchemy) on Twitter to be the first to hear about new features.
 
 ## License
 
 Copyright 2016-present [George Cushen](https://georgecushen.com).
 
-Released under the [MIT](https://github.com/gcushen/hugo-academic/blob/master/LICENSE.md) license.
+Released under the [MIT](https://github.com/wowchemy/wowchemy-hugo-modules/blob/master/LICENSE.md) license.
 
-[![Analytics](https://ga-beacon.appspot.com/UA-78646709-2/hugo-academic/readme?pixel)](https://github.com/igrigorik/ga-beacon)
+[![Analytics](https://ga-beacon.appspot.com/UA-78646709-2/wowchemy-hugo-modules/readme?pixel)](https://github.com/igrigorik/ga-beacon)

+ 0 - 18
assets/scss/academic/_footer.scss

@@ -1,18 +0,0 @@
-.footer-license-icons {
-  display: flex;
-  flex-direction: row;
-  flex-wrap: wrap;
-  justify-content: center;
-  list-style: none;
-  height: auto;
-  width: auto;
-  font-size: 0;  // Hack to remove space characters between icons without using UL.
-  text-decoration: none;
-}
-
-.footer-license-icons img {
- display: inline-flex;
-  margin-right: 8px;
-  height: 22px;
-  vertical-align: text-bottom;
-}

+ 1 - 0
exampleSite/config/_default/config.toml

@@ -35,6 +35,7 @@ removePathAccents = true  # Workaround for https://github.com/gohugoio/hugo/issu
 summaryLength = 30  # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
 paginate = 10  # Number of items per page in paginated lists.
 enableEmoji = true
+enableRobotsTXT = true
 footnotereturnlinkcontents = "<sup>^</sup>"
 ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
 

+ 2 - 10
exampleSite/config/_default/params.toml

@@ -57,7 +57,7 @@ description = ""
 # Enable source code highlighting? true/false
 # Documentation: https://sourcethemes.com/academic/docs/writing-markdown-latex/#highlighting-options
 highlight = true
-highlight_languages = ["r"]  # Add support for highlighting additional languages
+highlight_languages = ["r", "latex"]  # Add support for highlighting additional languages
 # highlight_style = "github"  # For supported styles, see https://cdnjs.com/libraries/highlight.js/
 
 # Enable LaTeX math rendering? true/false
@@ -139,7 +139,7 @@ date_format = "Jan 2, 2006"
 #   Examples: "3:04 pm" or "15:04"
 time_format = "3:04 PM"
 
-# Address format (choose from the [address_formats] list below or add you own to the list).
+# Address format (en-us, en-gb, de, fr-fr, zh).
 address_format = "en-us"
 
 ############################
@@ -186,14 +186,6 @@ plugins_js  = []
   # Choose a shape for avatar images. Options: circle, square.
   shape = "circle"
 
-# Available address formats.
-[address_formats]
-  en-us = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ' ', '']}
-  en-gb = {order = ['street', 'city', 'region', 'postcode'], delimiters = [', ', ', ', ', ', '']}
-  de = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
-  fr-fr = {order = ['street', 'postcode', 'city'], delimiters = ['<br>', ' ', '']}
-  zh = {order = ['postcode', 'region', 'city', 'street'], delimiters = [' ', ' ', ' ', '']}
-
 # Configuration of publication pages.
 [publications]
   # Date format (refer to https://sourcethemes.com/academic/docs/customization/#date-format )

+ 22 - 18
exampleSite/content/authors/admin/_index.md

@@ -2,29 +2,27 @@
 # Display name
 title: Nelson Bighetti
 
-# Username (this should match the folder name)
-authors:
-- admin
-
 # Is this the primary user of the site?
 superuser: true
 
-# Role/position
+# Role/position/tagline
 role: Professor of Artificial Intelligence
 
-# Organizations/Affiliations
+# Organizations/Affiliations to show in About widget
 organizations:
 - name: Stanford University
-  url: ""
+  url: https://www.stanford.edu/
 
 # Short bio (displayed in user profile at end of posts)
 bio: My research interests include distributed robotics, mobile computing and programmable matter.
 
+# Interests to show in About widget
 interests:
 - Artificial Intelligence
 - Computational Linguistics
 - Information Retrieval
 
+# Education to show in About widget
 education:
   courses:
   - course: PhD in Artificial Intelligence
@@ -40,36 +38,42 @@ education:
 # Social/Academic Networking
 # For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
 #   For an email link, use "fas" icon pack, "envelope" icon, and a link in the
-#   form "mailto:your-email@example.com" or "#contact" for contact widget.
+#   form "mailto:your-email@example.com" or "/#contact" for contact widget.
 social:
 - icon: envelope
   icon_pack: fas
-  link: '#contact'  # For a direct email link, use "mailto:test@example.org".
+  link: '/#contact'
 - icon: twitter
   icon_pack: fab
   link: https://twitter.com/GeorgeCushen
-- icon: google-scholar
-  icon_pack: ai
+- icon: graduation-cap  # OR `google-scholar`
+  icon_pack: fas  # OR `ai`
   link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ
 - icon: github
   icon_pack: fab
   link: https://github.com/gcushen
-# Link to a PDF of your resume/CV from the About widget.
-# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
+- icon: linkedin
+  icon_pack: fab
+  link: https://www.linkedin.com/
+
+# Link to a PDF of your resume/CV.
+# To use: copy your resume to `static/media/resume.pdf`, enable `ai` icons in `params.toml`, 
+# and uncomment the lines below.
 # - icon: cv
 #   icon_pack: ai
-#   link: files/cv.pdf
+#   link: media/resume.pdf
 
-# Enter email to display Gravatar (if Gravatar enabled in Config)
+# Email for Contact widget or Gravatar
 email: ""
 
 # Organizational groups that you belong to (for People widget)
-#   Set this to `[]` or comment out if you are not using People widget.
+#   Remove this if you are not using the People widget.
 user_groups:
-- Researchers
-- Visitors
+- Principal Investigators
 ---
 
 Nelson Bighetti is a professor of artificial intelligence at the Stanford AI Lab. His research interests include distributed robotics, mobile computing and programmable matter. He leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks.
 
 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.
+
+{{< icon name="download" pack="fas" >}} Download my {{< staticref "media/demo_resume.pdf" "newtab" >}}resumé{{< /staticref >}}.

+ 17 - 10
exampleSite/content/home/about.md

@@ -1,14 +1,21 @@
-+++
-# About widget.
-widget = "about"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 20  # Order that this section will appear in.
+---
+# An instance of the About widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: about
 
-title = "Biography"
+# Activate this widget? true/false
+active: true
+
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 20
+
+title: Biography
 
 # Choose the user profile to display
-# This should be the username of a profile in your `content/authors/` folder.
+# This should be the username (folder name) of a profile in your `content/authors/` folder.
 # See https://sourcethemes.com/academic/docs/get-started/#introduce-yourself
-author = "admin"
-+++
+author: admin
+---

+ 44 - 43
exampleSite/content/home/accomplishments.md

@@ -1,51 +1,52 @@
-+++
-# Accomplishments widget.
-widget = "accomplishments"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 50  # Order that this section will appear.
+---
+# An instance of the Accomplishments widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: accomplishments
 
-title = "Accomplish&shy;ments"
-subtitle = ""
+# Activate this widget? true/false
+active: true
+
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 50
+
+title: Accomplish&shy;ments
+subtitle:
 
 # Date format
 #   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
-date_format = "Jan 2006"
+date_format: Jan 2006
 
 # Accomplishments.
-#   Add/remove as many `[[item]]` blocks below as you like.
+#   Add/remove as many `item` blocks below as you like.
 #   `title`, `organization` and `date_start` are the required parameters.
 #   Leave other parameters empty if not required.
-#   Begin/end multi-line descriptions with 3 quotes `"""`.
-
-[[item]]
-  organization = "Coursera"
-  organization_url = "https://www.coursera.org"
-  title = "Neural Networks and Deep Learning"
-  url = ""
-  certificate_url = "https://www.coursera.org"
-  date_start = "2018-10-01"
-  date_end = ""
-  description = ""
-
-[[item]]
-  organization = "edX"
-  organization_url = "https://www.edx.org"
-  title = "Blockchain Fundamentals"
-  url = "https://www.edx.org/professional-certificate/uc-berkeleyx-blockchain-fundamentals"
-  certificate_url = "https://www.edx.org"
-  date_start = "2018-03-01"
-  date_end = ""
-  description = "Formulated informed blockchain models, hypotheses, and use cases."
-  
-[[item]]
-  organization = "DataCamp"
-  organization_url = "https://www.datacamp.com"
-  title = "Object-Oriented Programming in R: S3 and R6 Course"
-  url = ""
-  certificate_url = "https://www.datacamp.com"
-  date_start = "2017-07-01"
-  date_end = "2017-12-21"
-  description = ""
-
-+++
+#   You can begin a multiline `description` using YAML's `|-`.
+item:
+- certificate_url: https://www.coursera.org
+  date_end: ""
+  date_start: "2018-10-01"
+  description: ""
+  organization: Coursera
+  organization_url: https://www.coursera.org
+  title: Neural Networks and Deep Learning
+  url: ""
+- certificate_url: https://www.edx.org
+  date_end: ""
+  date_start: "2018-03-01"
+  description: Formulated informed blockchain models, hypotheses, and use cases.
+  organization: edX
+  organization_url: https://www.edx.org
+  title: Blockchain Fundamentals
+  url: https://www.edx.org/professional-certificate/uc-berkeleyx-blockchain-fundamentals
+- certificate_url: https://www.datacamp.com
+  date_end: "2017-12-21"
+  date_start: "2017-07-01"
+  description: ""
+  organization: DataCamp
+  organization_url: https://www.datacamp.com
+  title: 'Object-Oriented Programming in R: S3 and R6 Course'
+  url: ""
+---

+ 22 - 16
exampleSite/content/home/contact.md

@@ -1,24 +1,30 @@
-+++
-# Contact widget.
-widget = "contact"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 130  # Order that this section will appear.
+---
+# An instance of the Contact widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: contact
 
-title = "Contact"
-subtitle = ""
+# Activate this widget? true/false
+active: true
 
-# Automatically link email and phone?
-autolink = true
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 130
+
+title: Contact
+subtitle:
+
+# Automatically link email and phone or display as text?
+autolink: true
 
 # Email form provider
 #   0: Disable email form
 #   1: Netlify (requires that the site is hosted by Netlify)
 #   2: formspree.io
-email_form = 2
-
-# Netlify form settings.
-[netlify]
-  captcha = false  # Enable CAPTCHA challenge to reduce spam?
-+++
+email_form: 2
 
+netlify:
+  # Enable CAPTCHA challenge to reduce spam?
+  captcha: false
+---

+ 27 - 49
exampleSite/content/home/demo.md

@@ -1,60 +1,38 @@
-+++
-# A Demo section created with the Blank widget.
-# Any elements can be added in the body: https://sourcethemes.com/academic/docs/writing-markdown-latex/
-# Add more sections by duplicating this file and customizing to your requirements.
+---
+# An instance of the Blank widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: blank
 
-widget = "blank"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 15  # Order that this section will appear.
+# Activate this widget? true/false
+active: true
 
-title = "Demos"
-subtitle = ""
+# This file represents a page section.
+headless: true
 
-[design]
-  # Choose how many columns the section has. Valid values: 1 or 2.
-  columns = "1"
+# Order that this section appears on the page.
+weight: 15
 
-[design.background]
-  # Apply a background color, gradient, or image.
-  #   Uncomment (by removing `#`) an option to apply it.
-  #   Choose a light or dark text color by setting `text_color_light`.
-  #   Any HTML color name or Hex value is valid.
+title: Demos
+subtitle:
 
-  # Background color.
-  # color = "navy"
-  
-  # Background gradient.
-  # gradient_start = "DeepSkyBlue"
-  # gradient_end = "SkyBlue"
-  
-  # Background image.
-  image = "headers/bubbles-wide.jpg"  # Name of image in `static/media/`.
-  image_darken = 0.6  # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
-  image_size = "cover"  #  Options are `cover` (default), `contain`, or `actual` size.
-  image_position = "center"  # Options include `left`, `center` (default), or `right`.
-  image_parallax = true  # Use a fun parallax-like fixed background effect? true/false
+design:
+  columns: "1"
+  background:
+    image: headers/bubbles-wide.jpg
+    image_darken: 0.6
+    image_parallax: true
+    image_position: center
+    image_size: cover
+    text_color_light: true
+  spacing:
+    padding: ["20px", "0", "20px", "0"]
+---
 
-  # Text color (true=light or false=dark).
-  text_color_light = true
+Welcome to the demo of the **resumé template** for Academic.
 
-[design.spacing]
-  # Customize the section spacing. Order is top, right, bottom, left.
-  padding = ["20px", "0", "20px", "0"]
+[View more templates](https://sourcethemes.com/academic/templates/) for Academic.
 
-[advanced]
- # Custom CSS. 
- css_style = ""
- 
- # CSS class.
- css_class = ""
-+++
-
-Welcome to the **personal demo** of Academic. Other demos available include:
-
-- [**Project Demo** (Academic's actual site)](https://sourcethemes.com/academic/)
-
-**Over 100,000 [Amazing Websites](https://sourcethemes.com/academic/#expo) have Already Been Built with Academic**
+**Over 500,000 [Amazing Websites](https://sourcethemes.com/academic/) have Already Been Built with Academic**
 
 **[Join](https://sourcethemes.com/academic/docs/install/) the Most Empowered Hugo Community**
 

+ 39 - 37
exampleSite/content/home/experience.md

@@ -1,44 +1,46 @@
-+++
-# Experience widget.
-widget = "experience"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 40  # Order that this section will appear.
+---
+# An instance of the Experience widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: experience
 
-title = "Experience"
-subtitle = ""
+# Activate this widget? true/false
+active: true
 
-# Date format for experience
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 40
+
+title: Experience
+subtitle:
+
+# Date format
 #   Refer to https://sourcethemes.com/academic/docs/customization/#date-format
-date_format = "Jan 2006"
+date_format: Jan 2006
 
 # Experiences.
-#   Add/remove as many `[[experience]]` blocks below as you like.
+#   Add/remove as many `experience` blocks below as you like.
 #   Required fields are `title`, `company`, and `date_start`.
 #   Leave `date_end` empty if it's your current employer.
-#   Begin/end multi-line descriptions with 3 quotes `"""`.
-[[experience]]
-  title = "CEO"
-  company = "GenCoin"
-  company_url = ""
-  location = "California"
-  date_start = "2017-01-01"
-  date_end = ""
-  description = """
-  Responsibilities include:
-  
-  * Analysing
-  * Modelling
-  * Deploying
-  """
-
-[[experience]]
-  title = "Professor"
-  company = "University X"
-  company_url = ""
-  location = "California"
-  date_start = "2016-01-01"
-  date_end = "2016-12-31"
-  description = """Taught electronic engineering and researched semiconductor physics."""
-
-+++
+#   You can begin a multiline `description` using YAML's `|-`.
+experience:
+- company: GenCoin
+  company_url: ""
+  date_end: ""
+  date_start: "2017-01-01"
+  description: |-
+    Responsibilities include:
+    * Analysing
+    * Modelling
+    * Deploying
+  location: California
+  title: CEO
+- company: University X
+  company_url: ""
+  date_end: "2016-12-31"
+  date_start: "2016-01-01"
+  description: Taught electronic engineering and researched semiconductor physics.
+  location: California
+  title: Professor
+---

+ 31 - 59
exampleSite/content/home/featured.md

@@ -1,68 +1,40 @@
-+++
-# A Featured Publications section created with the Featured Content widget.
-# This section displays publications from `content/publication/` which have
-# `featured = true` in their front matter.
+---
+# An instance of the Featured widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: featured
 
-widget = "featured"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 80  # Order that this section will appear.
+# Activate this widget? true/false
+active: true
 
-title = "Featured Publications"
-subtitle = ""
+# This file represents a page section.
+headless: true
 
-[content]
-  # Page type to display. E.g. post, talk, or publication.
-  page_type = "publication"
-  
-  # Choose how much pages you would like to display (0 = all pages)
-  count = 0
-
-  # Page order. Descending (desc) or ascending (asc) date.
-  order = "desc"
+# Order that this section appears on the page.
+weight: 80
 
-  # Show a "See all pages" link underneath the featured content?
-  link_to_archive = false
+title: Featured Publications
+subtitle: ""
 
-  # Filter posts by a taxonomy term.
-  [content.filters]
-    tag = ""
-    category = ""
-    publication_type = ""
-    author = ""
-  
-[design]
-  # Toggle between the various page layout types.
+content:
+  # Page type to display. E.g. post, talk, publication...
+  page_type: publication
+  # Choose how much pages you would like to display (0 = all pages)
+  count: 0
+  # Filter on criteria
+  filters:
+    author: ""
+    category: ""
+    publication_type: ""
+    tag: ""
+  # Page order: descending (desc) or ascending (asc) date.
+  order: desc
+  # Show a "See all" link?
+  link_to_archive: false
+design:
+  # Choose a view for the listings:
   #   1 = List
   #   2 = Compact
   #   3 = Card
   #   4 = Citation (publication only)
-  view = 3
-  
-[design.background]
-  # Apply a background color, gradient, or image.
-  #   Uncomment (by removing `#`) an option to apply it.
-  #   Choose a light or dark text color by setting `text_color_light`.
-  #   Any HTML color name or Hex value is valid.
-  
-  # Background color.
-  # color = "navy"
-  
-  # Background gradient.
-  # gradient_start = "DeepSkyBlue"
-  # gradient_end = "SkyBlue"
-  
-  # Background image.
-  # image = "background.jpg"  # Name of image in `static/media/`.
-  # image_darken = 0.6  # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
-
-  # Text color (true=light or false=dark).
-  # text_color_light = true  
-  
-[advanced]
- # Custom CSS. 
- css_style = ""
- 
- # CSS class.
- css_class = ""
-+++
+  view: 3
+---

+ 6 - 4
exampleSite/content/home/index.md

@@ -1,5 +1,7 @@
-+++
+---
 # Homepage
-type = "widget_page"
-headless = true  # Homepage is headless, other widget pages are not.
-+++
+type: widget_page
+
+# Homepage is headless, other widget pages are not.
+headless: true
+---

+ 24 - 18
exampleSite/content/home/tags.md

@@ -1,22 +1,28 @@
-+++
-# Tag Cloud widget.
-widget = "tag_cloud"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 120  # Order that this section will appear.
+---
+# An instance of the Tag Cloud widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: tag_cloud
 
-title = "Popular Topics"
-subtitle = ""
+# Activate this widget? true/false
+active: true
 
-[content]
-  # Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
-  taxonomy = "tags"
-  
+# This file represents a page section.
+headless: true
+
+# Order that this section appears on the page.
+weight: 120
+
+title: Popular Topics
+subtitle:
+
+content:
   # Choose how many tags you would like to display (0 = all tags)
-  count = 20
+  count: 20
+  
+  # Choose the taxonomy from `config.toml` to display (e.g. tags, categories)
+  taxonomy: tags
 
-[design]
-  # Minimum and maximum font sizes (1.0 = 100%).
-  font_size_min = 0.7
-  font_size_max = 2.0
-+++
+design:
+  font_size_min: 0.7
+  font_size_max: 2
+---

+ 34 - 60
exampleSite/content/home/talks.md

@@ -1,70 +1,44 @@
-+++
-# A Recent and Upcoming Talks section created with the Pages widget.
-# This section displays recent talks from `content/talk/`.
+---
+# An instance of the Pages widget.
+# Documentation: https://sourcethemes.com/academic/docs/page-builder/
+widget: pages
 
-widget = "pages"  # See https://sourcethemes.com/academic/docs/page-builder/
-headless = true  # This file represents a page section.
-active = true  # Activate this widget? true/false
-weight = 70  # Order that this section will appear.
+# Activate this widget? true/false
+active: true
 
-title = "Recent & Upcoming Talks"
-subtitle = ""
+# This file represents a page section.
+headless: true
 
-[content]
-  # Page type to display. E.g. post, talk, or publication.
-  page_type = "talk"
-  
+# Order that this section appears on the page.
+weight: 70
+
+title: Recent & Upcoming Talks
+subtitle:
+
+content:
+  # Page type to display. E.g. post, talk, publication...
+  page_type: talk
   # Choose how much pages you would like to display (0 = all pages)
-  count = 5
-  
+  count: 5
+  # Filter on criteria
+  filters:
+    author: ""
+    category: ""
+    tag: ""
+    exclude_featured: false
+    exclude_future: false
+    exclude_past: false
+    publication_type: ""
   # Choose how many pages you would like to offset by
-  offset = 0
-
-  # Page order. Descending (desc) or ascending (asc) date.
-  order = "desc"
+  offset: 0
+  # Page order: descending (desc) or ascending (asc) date.
+  order: desc
 
-  # Filter posts by a taxonomy term.
-  [content.filters]
-    tag = ""
-    category = ""
-    publication_type = ""
-    author = ""
-    exclude_featured = false
-    exclude_past = false
-    exclude_future = false
-    
-[design]
-  # Toggle between the various page layout types.
+design:
+  # Choose a view for the listings:
   #   1 = List
   #   2 = Compact
   #   3 = Card
   #   4 = Citation (publication only)
-  view = 2
-  
-[design.background]
-  # Apply a background color, gradient, or image.
-  #   Uncomment (by removing `#`) an option to apply it.
-  #   Choose a light or dark text color by setting `text_color_light`.
-  #   Any HTML color name or Hex value is valid.
-
-  # Background color.
-  # color = "navy"
-  
-  # Background gradient.
-  # gradient_start = "DeepSkyBlue"
-  # gradient_end = "SkyBlue"
-  
-  # Background image.
-  # image = "background.jpg"  # Name of image in `static/media/`.
-  # image_darken = 0.6  # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.
-
-  # Text color (true=light or false=dark).
-  # text_color_light = true  
-  
-[advanced]
- # Custom CSS. 
- css_style = ""
- 
- # CSS class.
- css_class = ""
-+++
+  view: 2
+---

+ 16 - 4
exampleSite/content/post/writing-technical-content/index.md

@@ -34,6 +34,18 @@ data = pd.read_csv("data.csv")
 data.head()
 ```
 
+### Charts
+
+Academic supports the popular [Plotly](https://plot.ly/) chart format.
+
+Save your Plotly JSON in your page folder, for example `chart.json`, and then add the `{{</* chart data="chart" */>}}` shortcode where you would like the chart to appear.
+
+Demo:
+
+{{< chart data="line-chart" >}}
+
+You might also find the [Plotly JSON Editor](http://plotly-json-editor.getforge.io/) useful.
+
 ### Math
 
 Academic supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.toml` file.
@@ -42,7 +54,7 @@ To render *inline* or *block* math, wrap your LaTeX math with `$...$` or `$$...$
 
 Example **math block**:
 
-```tex
+```latex
 $$\gamma_{n} = \frac{ 
 \left | \left (\mathbf x_{n} - \mathbf x_{n-1} \right )^T 
 \left [\nabla F (\mathbf x_{n}) - \nabla F (\mathbf x_{n-1}) \right ] \right |}
@@ -57,7 +69,7 @@ Example **inline math** `$\nabla F(\mathbf{x}_{n})$` renders as $\nabla F(\mathb
 
 Example **multi-line math** using the `\\\\` math linebreak:
 
-```tex
+```latex
 $$f(k;p_0^*) = \begin{cases} p_0^* & \text{if }k=1, \\\\
 1-p_0^* & \text {if }k=0.\end{cases}$$
 ```
@@ -245,9 +257,9 @@ renders as
 | Content Cell  | Content Cell  |
 | Content Cell  | Content Cell  |
 
-### Asides
+### Callouts
 
-Academic supports a [shortcode for asides](https://sourcethemes.com/academic/docs/writing-markdown-latex/#alerts), also referred to as *notices*, *hints*, or *alerts*. By wrapping a paragraph in `{{%/* alert note */%}} ... {{%/* /alert */%}}`, it will render as an aside.
+Academic supports a [shortcode for callouts](https://sourcethemes.com/academic/docs/writing-markdown-latex/#alerts), also referred to as *asides*, *hints*, or *alerts*. By wrapping a paragraph in `{{%/* alert note */%}} ... {{%/* /alert */%}}`, it will render as an aside.
 
 ```markdown
 {{%/* alert note */%}}

+ 77 - 0
exampleSite/content/post/writing-technical-content/line-chart.json

@@ -0,0 +1,77 @@
+{
+  "data": [
+    {
+      "uid": "babced",
+      "fill": "tonexty",
+      "mode": "none",
+      "name": "Col2",
+      "type": "scatter",
+      "x": [
+        "2000-01-01",
+        "2001-01-01",
+        "2002-01-01",
+        "2003-01-01",
+        "2004-01-01",
+        "2005-01-01",
+        "2006-01-01",
+        "2007-01-01",
+        "2008-01-01",
+        "2009-01-01",
+        "2010-01-01",
+        "2011-01-01",
+        "2012-01-01",
+        "2013-01-01",
+        "2014-01-01",
+        "2015-01-01",
+        "2016-01-01"
+      ],
+      "y": [
+        "17087182",
+        "29354370",
+        "38760373",
+        "40912332",
+        "51611646",
+        "64780617",
+        "85507314",
+        "121892559",
+        "172338726",
+        "238027855",
+        "206956723",
+        "346004403",
+        "697089489",
+        "672985183",
+        "968882453",
+        "863105652",
+        "1068513050"
+      ],
+      "fillcolor": "rgb(224, 102, 102)"
+    }
+  ],
+  "layout": {
+    "title": "Total Number of Websites",
+    "width": 800,
+    "xaxis": {
+      "type": "date",
+      "range": [
+        946702800000,
+        1451624400000
+      ],
+      "title": "Source: <a href=\"http://www.scribblrs.com/\">Scribblrs</a><br>Source: <a href=\"http://www.internetlivestats.com/total-number-of-websites/\">Internet Live Stats</a>",
+      "showgrid": false,
+      "autorange": true,
+      "tickformat": "%Y"
+    },
+    "yaxis": {
+      "type": "linear",
+      "range": [
+        0,
+        1124750578.9473684
+      ],
+      "title": "",
+      "autorange": true
+    },
+    "height": 500,
+    "autosize": false
+  },
+  "frames": []
+}

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
exampleSite/resources/_gen/assets/scss/scss/main.scss_6c95cc1249b26b124274204dbf970c34.content


BIN
exampleSite/static/media/demo_resume.pdf


+ 1 - 1
go.mod

@@ -1,3 +1,3 @@
-module github.com/gcushen/hugo-academic
+module github.com/wowchemy/wowchemy-hugo-modules
 
 go 1.14

+ 0 - 0
images/themes.png → themes.png


+ 0 - 0
archetypes/authors/_index.md → wowchemy/archetypes/authors/_index.md


+ 0 - 0
archetypes/authors/avatar.jpg → wowchemy/archetypes/authors/avatar.jpg


+ 0 - 0
archetypes/default.md → wowchemy/archetypes/default.md


+ 0 - 0
archetypes/docs.md → wowchemy/archetypes/docs.md


+ 0 - 0
archetypes/home.md → wowchemy/archetypes/home.md


+ 0 - 0
archetypes/post/index.md → wowchemy/archetypes/post/index.md


+ 0 - 0
archetypes/project/index.md → wowchemy/archetypes/project/index.md


+ 0 - 0
archetypes/publication/index.md → wowchemy/archetypes/publication/index.md


+ 0 - 0
archetypes/slides/index.md → wowchemy/archetypes/slides/index.md


+ 0 - 0
archetypes/talk/index.md → wowchemy/archetypes/talk/index.md


+ 0 - 0
assets/css/reveal.css → wowchemy/assets/css/reveal.css


+ 0 - 0
assets/css/reveal_custom.css → wowchemy/assets/css/reveal_custom.css


+ 0 - 0
assets/images/icon.png → wowchemy/assets/images/icon.png


+ 0 - 0
assets/js/_vendor/bootstrap.min.js → wowchemy/assets/js/_vendor/bootstrap.min.js


+ 0 - 0
assets/js/academic-search.js → wowchemy/assets/js/academic-search.js


+ 3 - 2
assets/js/academic.js → wowchemy/assets/js/academic.js

@@ -336,9 +336,10 @@
   * Change Theme Mode (0: Day, 1: Night, 2: Auto).
   * --------------------------------------------------------------------------- */
 
+  // TODO: import theme functions from load-theme.js to avoid duplication.
   function canChangeTheme() {
-    // If the theme changer component is present, then user is allowed to change the theme variation.
-    return $('.js-theme-selector').length;
+    // If var is set, then user is allowed to change the theme variation.
+    return Boolean(window.wcDarkLightEnabled);
   }
 
   function getThemeMode() {

+ 0 - 0
assets/js/algolia-search.js → wowchemy/assets/js/algolia-search.js


+ 47 - 0
wowchemy/assets/js/load-theme.js

@@ -0,0 +1,47 @@
+(function () {
+  function getThemeMode() {
+    return parseInt(localStorage.getItem('dark_mode') || 2);
+  }
+
+  function canChangeTheme() {
+    // If var is set, then user is allowed to change the theme variation.
+    return Boolean(window.wcDarkLightEnabled);
+  }
+
+  function initThemeVariation() {
+    if (!canChangeTheme()) {
+      return;
+    }
+
+    let currentThemeMode = getThemeMode();
+    let isDarkTheme;
+    switch (currentThemeMode) {
+      case 0:
+        isDarkTheme = false;
+        break;
+      case 1:
+        isDarkTheme = true;
+        break;
+      default:
+        if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
+          // The visitor prefers dark themes and switching to the dark variation is allowed by admin.
+          isDarkTheme = true;
+        } else if (window.matchMedia('(prefers-color-scheme: light)').matches) {
+          // The visitor prefers light themes and switching to the dark variation is allowed by admin.
+          isDarkTheme = false;
+        } else {
+          // Use the site's default theme variation based on `light` in the theme file.
+          isDarkTheme = isSiteThemeDark;
+        }
+        break;
+    }
+    if (isDarkTheme) {
+      document.body.classList.add("dark");
+    } else {
+      document.body.classList.remove("dark");
+    }
+  }
+
+  // Initialize theme variation.
+  initThemeVariation();
+})();

+ 0 - 0
assets/js/mathjax-config.js → wowchemy/assets/js/mathjax-config.js


+ 0 - 0
assets/scss/_vendor/bootstrap/_alert.scss → wowchemy/assets/scss/_vendor/bootstrap/_alert.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_badge.scss → wowchemy/assets/scss/_vendor/bootstrap/_badge.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_breadcrumb.scss → wowchemy/assets/scss/_vendor/bootstrap/_breadcrumb.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_button-group.scss → wowchemy/assets/scss/_vendor/bootstrap/_button-group.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_buttons.scss → wowchemy/assets/scss/_vendor/bootstrap/_buttons.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_card.scss → wowchemy/assets/scss/_vendor/bootstrap/_card.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_carousel.scss → wowchemy/assets/scss/_vendor/bootstrap/_carousel.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_close.scss → wowchemy/assets/scss/_vendor/bootstrap/_close.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_code.scss → wowchemy/assets/scss/_vendor/bootstrap/_code.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_custom-forms.scss → wowchemy/assets/scss/_vendor/bootstrap/_custom-forms.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_dropdown.scss → wowchemy/assets/scss/_vendor/bootstrap/_dropdown.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_forms.scss → wowchemy/assets/scss/_vendor/bootstrap/_forms.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_functions.scss → wowchemy/assets/scss/_vendor/bootstrap/_functions.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_grid.scss → wowchemy/assets/scss/_vendor/bootstrap/_grid.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_images.scss → wowchemy/assets/scss/_vendor/bootstrap/_images.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_input-group.scss → wowchemy/assets/scss/_vendor/bootstrap/_input-group.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_jumbotron.scss → wowchemy/assets/scss/_vendor/bootstrap/_jumbotron.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_list-group.scss → wowchemy/assets/scss/_vendor/bootstrap/_list-group.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_media.scss → wowchemy/assets/scss/_vendor/bootstrap/_media.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_mixins.scss → wowchemy/assets/scss/_vendor/bootstrap/_mixins.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_modal.scss → wowchemy/assets/scss/_vendor/bootstrap/_modal.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_nav.scss → wowchemy/assets/scss/_vendor/bootstrap/_nav.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_navbar.scss → wowchemy/assets/scss/_vendor/bootstrap/_navbar.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_pagination.scss → wowchemy/assets/scss/_vendor/bootstrap/_pagination.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_popover.scss → wowchemy/assets/scss/_vendor/bootstrap/_popover.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_print.scss → wowchemy/assets/scss/_vendor/bootstrap/_print.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_progress.scss → wowchemy/assets/scss/_vendor/bootstrap/_progress.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_reboot.scss → wowchemy/assets/scss/_vendor/bootstrap/_reboot.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_root.scss → wowchemy/assets/scss/_vendor/bootstrap/_root.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_spinners.scss → wowchemy/assets/scss/_vendor/bootstrap/_spinners.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_tables.scss → wowchemy/assets/scss/_vendor/bootstrap/_tables.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_toasts.scss → wowchemy/assets/scss/_vendor/bootstrap/_toasts.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_tooltip.scss → wowchemy/assets/scss/_vendor/bootstrap/_tooltip.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_transitions.scss → wowchemy/assets/scss/_vendor/bootstrap/_transitions.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_type.scss → wowchemy/assets/scss/_vendor/bootstrap/_type.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_utilities.scss → wowchemy/assets/scss/_vendor/bootstrap/_utilities.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_variables.scss → wowchemy/assets/scss/_vendor/bootstrap/_variables.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/_vendor/_rfs.scss → wowchemy/assets/scss/_vendor/bootstrap/_vendor/_rfs.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/bootstrap-grid.scss → wowchemy/assets/scss/_vendor/bootstrap/bootstrap-grid.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/bootstrap-reboot.scss → wowchemy/assets/scss/_vendor/bootstrap/bootstrap-reboot.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/bootstrap.scss → wowchemy/assets/scss/_vendor/bootstrap/bootstrap.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_alert.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_alert.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_background-variant.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_background-variant.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_badge.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_badge.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_border-radius.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_border-radius.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_box-shadow.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_box-shadow.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_breakpoints.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_breakpoints.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_buttons.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_buttons.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_caret.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_caret.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_clearfix.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_clearfix.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_deprecate.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_deprecate.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_float.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_float.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_forms.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_forms.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_gradients.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_gradients.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_grid-framework.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_grid-framework.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_grid.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_grid.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_hover.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_hover.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_image.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_image.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_list-group.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_list-group.scss


+ 0 - 0
assets/scss/_vendor/bootstrap/mixins/_lists.scss → wowchemy/assets/scss/_vendor/bootstrap/mixins/_lists.scss


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff