diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 574c0a2..0000000 --- a/.editorconfig +++ /dev/null @@ -1,20 +0,0 @@ -# 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 diff --git a/.github/preview.webp b/.github/preview.webp new file mode 100644 index 0000000..203ce8d Binary files /dev/null and b/.github/preview.webp differ diff --git a/.github/workflows/import-publications.yml b/.github/workflows/import-publications.yml index 616fc91..8ee4b62 100644 --- a/.github/workflows/import-publications.yml +++ b/.github/workflows/import-publications.yml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Set up Python 3.12 - uses: actions/setup-python@v5 + uses: actions/setup-python@v4 with: python-version: "3.12" - name: Install dependencies @@ -38,7 +38,7 @@ jobs: - name: Create Pull Request # Set ID for `Check outputs` stage id: cpr - uses: peter-evans/create-pull-request@v6 + uses: peter-evans/create-pull-request@v5 with: commit-message: 'content: import publications from Bibtex' title: Hugo Blox Builder - Import latest publications diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 44f5759..ff960b8 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,7 @@ name: Deploy website to GitHub Pages env: - WC_HUGO_VERSION: '0.124.1' + WC_HUGO_VERSION: '0.126.1' on: # Trigger the workflow every time you push to the `main` branch @@ -26,35 +26,37 @@ jobs: if: github.repository_owner != 'HugoBlox' runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - with: + - name: Checkout + uses: actions/checkout@v4 + with: # Fetch history for Hugo's .GitInfo and .Lastmod - fetch-depth: 0 - - name: Setup Hugo - uses: peaceiris/actions-hugo@v3 - with: - hugo-version: ${{ env.WC_HUGO_VERSION }} - extended: true - - uses: actions/cache@v4 - with: - path: /tmp/hugo_cache_runner/ - key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }} - restore-keys: | - ${{ runner.os }}-hugomod- - - name: Setup Pages - id: pages - uses: actions/configure-pages@v5 - - name: Build with Hugo - env: - HUGO_ENVIRONMENT: production - run: | - echo "Hugo Cache Dir: $(hugo config | grep cachedir)" - hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./public + fetch-depth: 0 + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: ${{ env.WC_HUGO_VERSION }} + extended: true + - uses: actions/cache@v3 + with: + path: /tmp/hugo_cache_runner/ + key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }} + restore-keys: | + ${{ runner.os }}-hugomod- + - name: Setup Pages + id: pages + uses: actions/configure-pages@v3 + - name: Build with Hugo + env: + HUGO_ENVIRONMENT: production + run: | + echo "Hugo Cache Dir: $(hugo config | grep cachedir)" + hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/" + - name: Generate Pagefind search index + run: npx pagefind --site "public" + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: ./public # Deploy website to GitHub Pages hosting deploy: @@ -65,6 +67,6 @@ jobs: runs-on: ubuntu-latest needs: build steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a04655b..0000000 --- a/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -# IDEs -.idea/ - -# Hugo -resources/ -public/ -jsconfig.json -node_modules/ -go.sum -.hugo_build.lock diff --git a/LICENSE.md b/LICENSE.md index 1ae7dc1..d25bdeb 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016-present George Cushen +Copyright (c) 2023-present George Cushen (https://georgecushen.com/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 383c389..9f25f0f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # [Hugo Academic CV Theme](https://github.com/HugoBlox/theme-academic-cv) -[![Screenshot](preview.png)](https://hugoblox.com/templates/) +[![Screenshot](.github/preview.webp)](https://hugoblox.com/templates/) -The Hugo **Academic Resumé Template** empowers you to easily create your job-winning online resumé, showcase your academic publications, and create online courses or knowledge bases to grow your audience. +The Hugo **Academic CV Template** empowers you to easily create your job-winning online resumé, showcase your academic publications, and create online courses or knowledge bases to grow your audience. [![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://hugoblox.com/templates/) [![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138) @@ -30,9 +30,11 @@ Today we ask you to defend the open source independence of the Hugo Blox Builder We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way. -### [❤️ Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen) +### [❤️ Click here to become a Sponsor, unlocking awesome perks such as _exclusive academic templates and blocks_](https://hugoblox.com/sponsor/) + ## Demo image credits diff --git a/academic.Rproj b/academic.Rproj deleted file mode 100644 index e83436a..0000000 --- a/academic.Rproj +++ /dev/null @@ -1,16 +0,0 @@ -Version: 1.0 - -RestoreWorkspace: Default -SaveWorkspace: Default -AlwaysSaveHistory: Default - -EnableCodeIndexing: Yes -UseSpacesForTab: Yes -NumSpacesForTab: 2 -Encoding: UTF-8 - -RnwWeave: Sweave -LaTeX: pdfLaTeX - -AutoAppendNewline: Yes -StripTrailingWhitespace: Yes diff --git a/assets/media/albums/demo/chris-montgomery-smgTvepind4-unsplash.jpg b/assets/media/albums/demo/chris-montgomery-smgTvepind4-unsplash.jpg deleted file mode 100644 index bb8a0df..0000000 Binary files a/assets/media/albums/demo/chris-montgomery-smgTvepind4-unsplash.jpg and /dev/null differ diff --git a/assets/media/albums/demo/dan-gold-4_jhDO54BYg-unsplash-f.jpg b/assets/media/albums/demo/dan-gold-4_jhDO54BYg-unsplash-f.jpg deleted file mode 100644 index f3169de..0000000 Binary files a/assets/media/albums/demo/dan-gold-4_jhDO54BYg-unsplash-f.jpg and /dev/null differ diff --git a/assets/media/albums/demo/fotografierende-333oj7zFsdg-unsplash.jpg b/assets/media/albums/demo/fotografierende-333oj7zFsdg-unsplash.jpg deleted file mode 100644 index e4a7c85..0000000 Binary files a/assets/media/albums/demo/fotografierende-333oj7zFsdg-unsplash.jpg and /dev/null differ diff --git a/assets/media/albums/demo/glenn-carstens-peters-npxXWgQ33ZQ-unsplash.jpg b/assets/media/albums/demo/glenn-carstens-peters-npxXWgQ33ZQ-unsplash.jpg deleted file mode 100644 index 024b69b..0000000 Binary files a/assets/media/albums/demo/glenn-carstens-peters-npxXWgQ33ZQ-unsplash.jpg and /dev/null differ diff --git a/assets/media/albums/demo/joseph-gonzalez-zcUgjyqEwe8-unsplash.jpg b/assets/media/albums/demo/joseph-gonzalez-zcUgjyqEwe8-unsplash.jpg deleted file mode 100644 index 2242d13..0000000 Binary files a/assets/media/albums/demo/joseph-gonzalez-zcUgjyqEwe8-unsplash.jpg and /dev/null differ diff --git a/assets/media/albums/demo/matthew-osborn-wMRIcT86SWU-unsplash-l.jpg b/assets/media/albums/demo/matthew-osborn-wMRIcT86SWU-unsplash-l.jpg deleted file mode 100644 index 0f0c6c6..0000000 Binary files a/assets/media/albums/demo/matthew-osborn-wMRIcT86SWU-unsplash-l.jpg and /dev/null differ diff --git a/assets/media/albums/demo/priscilla-du-preez-K8XYGbw4Ahg-unsplash.jpg b/assets/media/albums/demo/priscilla-du-preez-K8XYGbw4Ahg-unsplash.jpg deleted file mode 100644 index 64028c0..0000000 Binary files a/assets/media/albums/demo/priscilla-du-preez-K8XYGbw4Ahg-unsplash.jpg and /dev/null differ diff --git a/assets/media/hero-academic.png b/assets/media/hero-academic.png deleted file mode 100644 index 89afaff..0000000 Binary files a/assets/media/hero-academic.png and /dev/null differ diff --git a/assets/media/icon.png b/assets/media/icon.png deleted file mode 100644 index 6c184d7..0000000 Binary files a/assets/media/icon.png and /dev/null differ diff --git a/assets/media/albums/.gitkeep b/assets/media/icons/.gitkeep similarity index 100% rename from assets/media/albums/.gitkeep rename to assets/media/icons/.gitkeep diff --git a/assets/media/icons/brands/org-gc.svg b/assets/media/icons/brands/org-gc.svg deleted file mode 100644 index 5104413..0000000 --- a/assets/media/icons/brands/org-gc.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - background - - - - - - - Layer 1 - - GC - - \ No newline at end of file diff --git a/assets/media/icons/brands/org-x.svg b/assets/media/icons/brands/org-x.svg deleted file mode 100644 index 2e7053c..0000000 --- a/assets/media/icons/brands/org-x.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - background - - - - - - - Layer 1 - - X - - \ No newline at end of file diff --git a/assets/media/stacked-peaks.svg b/assets/media/stacked-peaks.svg new file mode 100644 index 0000000..1adb53a --- /dev/null +++ b/assets/media/stacked-peaks.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index 69cc2d0..f9c00fc 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -3,8 +3,10 @@ # 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://example.com/' # Website URL +# Website name +title: Hugo Academic CV Theme +# Website URL +baseURL: 'https://example.com/' ############################ ## LANGUAGE @@ -19,6 +21,8 @@ removePathAccents: true ## ADVANCED ############################ +build: + writeStats: true enableGitInfo: false summaryLength: 30 paginate: 10 @@ -27,38 +31,25 @@ enableRobotsTXT: true footnotereturnlinkcontents: ^ ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$] permalinks: - event: '/talk/:slug/' - tags: '/tag/:slug/' - categories: '/category/:slug/' - publication_types: '/publication-type/:slug/' + authors: '/author/:slug/' disableAliases: true outputs: - home: [HTML, RSS, JSON, WebAppManifest, headers, redirects] + home: [HTML, RSS, headers, redirects, backlinks] section: [HTML, RSS] imaging: resampleFilter: lanczos - quality: 75 + quality: 80 anchor: smart timeout: 600000 taxonomies: - tag: tags - category: categories - publication_type: publication_types author: authors + tag: tags + publication_type: publication_types markup: _merge: deep -related: - threshold: 80 - includeNewer: true - toLower: true - indices: - - name: tags - weight: 100 - - name: categories - weight: 70 + highlight: + lineNos: false security: _merge: deep sitemap: _merge: deep -minify: - _merge: deep diff --git a/config/_default/menus.yaml b/config/_default/menus.yaml index 02f22e7..f70c391 100644 --- a/config/_default/menus.yaml +++ b/config/_default/menus.yaml @@ -1,30 +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. + # desired widget in your `content/home/` folder. + # The weight parameter defines the order that the links will appear in. main: - - name: Home - url: '#about' + - name: Bio + url: / weight: 10 - - name: Posts - url: '#posts' + - name: Papers + url: /#papers + weight: 11 + - name: Talks + url: /#talks + weight: 12 + - name: News + url: /#news + weight: 13 + - name: Experience + url: experience/ weight: 20 - name: Projects - url: '#projects' + url: projects/ weight: 30 - - name: Talks - url: '#talks' + - name: Teaching + url: teaching/ weight: 40 - - name: Publications - url: '#featured' - weight: 50 - - name: Contact - url: '#contact' - weight: 60 - -# Link to a PDF of your resume/CV from the menu. -# To enable, copy your resume/CV to `static/uploads/resume.pdf` and uncomment the lines below. -# - name: CV -# url: uploads/resume.pdf -# weight: 70 diff --git a/config/_default/module.yaml b/config/_default/module.yaml index d6d5a8f..ac2a62a 100644 --- a/config/_default/module.yaml +++ b/config/_default/module.yaml @@ -6,5 +6,20 @@ imports: - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal - - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 + - path: github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind + +# Install any Hugo Blox within the `hugo-blox/blox/` folder +mounts: + - source: hugo-blox/blox/community + target: layouts/partials/blox/community/ + includeFiles: '**.html' + - source: hugo-blox/blox/all-access + target: layouts/partials/blox/ + includeFiles: '**.html' + - source: hugo-blox/blox + target: assets/dist/community/blox/ + includeFiles: '**.css' + - source: layouts + target: layouts + - source: assets + target: assets diff --git a/config/_default/params.yaml b/config/_default/params.yaml index da4615f..33c6c5b 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -4,45 +4,40 @@ # This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/ # Appearance - appearance: - theme_day: minimal - theme_night: minimal - font: minimal - font_size: L + mode: system + color: emerald # SEO - marketing: seo: site_type: Person local_business_type: '' org_name: '' - description: 'A highly-customizable Hugo academic resume theme powered by Hugo Blox Builder.' + description: 'The highly-customizable Hugo Academic theme powered by Hugo Blox Builder. Easily create your personal academic website.' twitter: 'GetResearchDev' analytics: google_analytics: '' baidu_tongji: '' - google_tag_manager: '' - microsoft_clarity: '' + plausible: '' + fathom: '' + pirsch: '' verification: google: '' baidu: '' # Site header - header: navbar: enable: true - align: l - show_logo: true - show_language: false - show_day_night: true + blox: "navbar" + fixed_to_top: true show_search: true - highlight_active_link: true + show_theme_chooser: true + logo: + text: "Your Name" # Site footer - footer: copyright: notice: '© {year} Me. This work is licensed under {license}' @@ -53,64 +48,13 @@ footer: allow_commercial: false # Localization - locale: date_format: 'Jan 2, 2006' time_format: '3:04 PM' - address_format: en-us # Site features - features: - syntax_highlighter: - theme_light: github-light - theme_dark: dracula math: enable: false privacy_pack: enable: false - repository: - url: 'https://github.com//' - content_dir: content - branch: main - avatar: - gravatar: false - shape: circle - comment: - provider: '' - disqus: - shortname: '' - show_count: true - commento: - url: '' - giscus: - repo: '' - repo_id: '' - category: '' - category_id: '' - search: - provider: wowchemy - algolia: - app_id: '' - api_key: '' - index_name: '' - show_logo: false - map: - provider: 'mapnik' - api_key: '' - zoom: 15 - -# Extensions - -extensions: - cms: - branch: main - local_backend: false - academicons: - enable: true - -# Security - -security: - # Allow frame for embedding speaker notes in slides - allow_frame: true diff --git a/content/_index.md b/content/_index.md index c7d5d2a..d2dbd2e 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,144 +1,90 @@ --- # Leave the homepage title empty to use the site title -title: '' +title: "" date: 2022-10-24 type: landing +design: + # Default section spacing + spacing: "6rem" + sections: - - block: hero - demo: true # Only display this section in the Hugo Blox Builder demo site + - block: resume-biography-3 content: - title: Hugo Academic Theme - image: - filename: hero-academic.png - cta: - label: '**Get Started**' - url: https://hugoblox.com/templates/ - cta_alt: - label: Ask a question - url: https://discord.gg/z8wNYzb - cta_note: - label: >- -
Star Hugo Blox Builder
Star the Academic template
- text: |- - **Generated by Hugo Blox Builder - the FREE, Hugo-based open source website builder trusted by 500,000+ sites.** - - **Easily build anything with blocks - no-code required!** - - From landing pages, second brains, and courses to academic resumés, conferences, and tech blogs. - - -
- - - design: - background: - gradient_end: '#1976d2' - gradient_start: '#004ba0' - text_color_light: true - - block: about.biography - id: about - content: - title: Biography # Choose a user profile to display (a folder name within `content/authors/`) username: admin - - block: skills + text: "" + # Show a call-to-action button under your biography? (optional) + button: + text: Download CV + url: uploads/resume.pdf + design: + css_class: dark + background: + color: black + image: + # Add your image background to `assets/media/`. + filename: stacked-peaks.svg + filters: + brightness: 1.0 + size: cover + position: center + parallax: false + - block: markdown content: - title: Skills - text: '' - # Choose a user to display skills from (a folder name within `content/authors/`) - username: admin + title: '📚 My Research' + subtitle: '' + text: |- + Use this area to speak to your mission. I'm a research scientist in the Moonshot team at DeepMind. I blog about machine learning, deep learning, and moonshots. + + I apply a range of qualitative and quantitative methods to comprehensively investigate the role of science and technology in the economy. + + Please reach out to collaborate 😃 design: columns: '1' - - block: experience - content: - title: Experience - # Date format for experience - # Refer to https://docs.hugoblox.com/customization/#date-format - date_format: Jan 2006 - # Experiences. - # Add/remove as many `experience` items below as you like. - # Required fields are `title`, `company`, and `date_start`. - # Leave `date_end` empty if it's your current employer. - # Begin multi-line descriptions with YAML's `|2-` multi-line prefix. - items: - - title: CEO - company: GenCoin - company_url: '' - company_logo: org-gc - location: California - date_start: '2021-01-01' - date_end: '' - description: |2- - Responsibilities include: - - * Analysing - * Modelling - * Deploying - - title: Professor of Semiconductor Physics - company: University X - company_url: '' - company_logo: org-x - location: California - date_start: '2016-01-01' - date_end: '2020-12-31' - description: Taught electronic engineering and researched semiconductor physics. - design: - columns: '2' - - block: accomplishments - content: - # Note: `­` is used to add a 'soft' hyphen in a long heading. - title: 'Accomplish­ments' - subtitle: - # Date format: https://docs.hugoblox.com/customization/#date-format - date_format: Jan 2006 - # Accomplishments. - # 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 multi-line descriptions with YAML's `|2-` multi-line prefix. - items: - - certificate_url: https://www.coursera.org - date_end: '' - date_start: '2021-01-25' - description: '' - icon: coursera - 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: '2021-01-01' - description: Formulated informed blockchain models, hypotheses, and use cases. - icon: edx - 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: '2020-12-21' - date_start: '2020-07-01' - description: '' - icon: datacamp - organization: DataCamp - organization_url: https://www.datacamp.com - title: 'Object-Oriented Programming in R' - url: '' - design: - columns: '2' - block: collection - id: posts + id: papers content: - title: Recent Posts + title: Featured Publications + filters: + folders: + - publication + featured_only: true + design: + view: article-grid + columns: 2 + - block: collection + content: + title: Recent Publications + text: "" + filters: + folders: + - publication + exclude_featured: false + design: + view: citation + - block: collection + id: talks + content: + title: Recent & Upcoming Talks + filters: + folders: + - event + design: + view: article-grid + columns: 1 + - block: collection + id: news + content: + title: Recent News subtitle: '' text: '' + # Page type to display. E.g. post, talk, publication... + page_type: post # Choose how many pages you would like to display (0 = all pages) count: 5 # Filter on criteria filters: - folders: - - post author: "" category: "" tag: "" @@ -152,132 +98,28 @@ sections: order: desc design: # Choose a layout view - view: compact - columns: '2' - - block: portfolio - id: projects + view: date-title-summary + # Reduce spacing + spacing: + padding: [0, 0, 0, 0] + - block: cta-card + demo: true # Only display this section in the Hugo Blox Builder demo site content: - title: Projects - filters: - folders: - - project - # Default filter index (e.g. 0 corresponds to the first `filter_button` instance below). - default_button_index: 0 - # Filter toolbar (optional). - # Add or remove as many filters (`filter_button` instances) as you like. - # To show all items, set `tag` to "*". - # To filter by a specific tag, set `tag` to an existing tag name. - # To remove the toolbar, delete the entire `filter_button` block. - buttons: - - name: All - tag: '*' - - name: Deep Learning - tag: Deep Learning - - name: Other - tag: Demo - design: - # Choose how many columns the section has. Valid values: '1' or '2'. - columns: '1' - view: showcase - # For Showcase view, flip alternate rows? - flip_alt_rows: false - - block: markdown - content: - title: Gallery - subtitle: '' + title: 👉 Build your own academic website like this text: |- - {{< gallery album="demo" >}} + This site is generated by Hugo Blox Builder - the FREE, Hugo-based open source website builder trusted by 250,000+ academics like you. + + Star + + Easily build anything with blocks - no-code required! + + From landing pages, second brains, and courses to academic resumés, conferences, and tech blogs. + button: + text: Get Started + url: https://hugoblox.com/templates/ design: - columns: '1' - - block: collection - id: featured - content: - title: Featured Publications - filters: - folders: - - publication - featured_only: true - design: - columns: '2' - view: card - - block: collection - content: - title: Recent Publications - text: |- - {{% callout note %}} - Quickly discover relevant content by [filtering publications](./publication/). - {{% /callout %}} - filters: - folders: - - publication - exclude_featured: true - design: - columns: '2' - view: citation - - block: collection - id: talks - content: - title: Recent & Upcoming Talks - filters: - folders: - - event - design: - columns: '2' - view: compact - - block: tag_cloud - content: - title: Popular Topics - design: - columns: '2' - - block: contact - id: contact - content: - title: Contact - subtitle: - text: |- - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam mi diam, venenatis ut magna et, vehicula efficitur enim. - # Contact (add or remove contact options as necessary) - email: test@example.org - phone: 888 888 88 88 - appointment_url: 'https://calendly.com' - address: - street: 450 Serra Mall - city: Stanford - region: CA - postcode: '94305' - country: United States - country_code: US - 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' - # Choose a map provider in `params.yaml` to show a map from these coordinates - coordinates: - latitude: '37.4275' - longitude: '-122.1697' - 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: video - icon_pack: fas - name: Zoom Me - link: 'https://zoom.com' - # Automatically link email and phone or display as text? - autolink: true - # Email form provider - form: - provider: netlify - formspree: - id: - netlify: - # Enable CAPTCHA challenge to reduce spam? - captcha: false - design: - columns: '2' + card: + # Card background color (CSS class) + css_class: "bg-primary-700" + css_style: "" --- diff --git a/content/authors/_index.md b/content/authors/_index.md index fb4b159..c5e4b7b 100644 --- a/content/authors/_index.md +++ b/content/authors/_index.md @@ -1,7 +1,5 @@ --- -cms_exclude: true - -# To publish author profile pages, remove all of the `_build` and `cascade` settings below. +# To publish author profile pages, remove all the `_build` and `cascade` settings below. _build: render: never cascade: diff --git a/content/authors/admin/_index.md b/content/authors/admin/_index.md index 07f473b..16ed111 100644 --- a/content/authors/admin/_index.md +++ b/content/authors/admin/_index.md @@ -16,56 +16,114 @@ status: # Is this the primary user of the site? superuser: true +# Highlight the author in author lists? (true/false) +highlight_name: true + # Role/position/tagline -role: Professor of Artificial Intelligence +role: Chief Scientist -# Organizations/Affiliations to show in About widget +# Organizations/Affiliations to display in Biography blox organizations: - - name: Stanford University - url: https://www.stanford.edu/ + - name: OpenAI + url: https://openai.com/ -# Short bio (displayed in user profile at end of posts) -bio: My research interests include distributed robotics, mobile computing and programmable matter. +# Social network links +# Need to use another icon? Simply download the SVG icon to your `assets/media/icons/` folder. +profiles: + - icon: at-symbol + url: 'mailto:your-email@example.com' + label: E-mail Me + - icon: brands/x + url: https://twitter.com/GetResearchDev + - icon: brands/instagram + url: https://www.instagram.com/ + - icon: brands/github + url: https://github.com/gcushen + - icon: brands/linkedin + url: https://www.linkedin.com/ + - icon: academicons/google-scholar + url: https://scholar.google.com/ + - icon: academicons/orcid + url: https://orcid.org/ -# 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 - institution: Stanford University - year: 2012 - - course: MEng in Artificial Intelligence - institution: Massachusetts Institute of Technology - year: 2009 - - course: BSc in Artificial Intelligence - institution: Massachusetts Institute of Technology - year: 2008 + - area: PhD Artificial Intelligence + institution: Stanford University + date_start: 2016-01-01 + date_end: 2020-12-31 + summary: | + Thesis on _Why LLMs are awesome_. Supervised by [Prof Joe Smith](https://example.com). Presented papers at 5 IEEE conferences with the contributions being published in 2 Springer journals. + button: + text: 'Read Thesis' + url: 'https://example.com' + - area: MEng Artificial Intelligence + institution: Massachusetts Institute of Technology + date_start: 2016-01-01 + date_end: 2020-12-31 + summary: | + GPA: 3.8/4.0 + + Courses included: + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - area: BSc Artificial Intelligence + institution: Massachusetts Institute of Technology + date_start: 2016-01-01 + date_end: 2020-12-31 + summary: | + GPA: 3.4/4.0 + + Courses included: + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit +work: + - position: Director of Cloud Infrastructure + company_name: GenCoin + company_url: '' + company_logo: '' + date_start: 2021-01-01 + date_end: '' + summary: |2- + Responsibilities include: + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - position: Backend Software Engineer + company_name: X + company_url: '' + company_logo: '' + date_start: 2016-01-01 + date_end: 2020-12-31 + summary: | + Responsibilities include: + - Migrated infrastructure to a new data center + - lorem ipsum dolor sit amet, consectetur adipiscing elit + - lorem ipsum dolor sit amet, consectetur adipiscing elit # Skills -# For available icons, see: https://docs.hugoblox.com/getting-started/page-builder/#icons +# Add your own SVG icons to `assets/media/icons/` skills: - - name: Technical + - name: Technical Skills items: - name: Python description: '' percent: 80 - icon: python - icon_pack: fab + icon: code-bracket - name: Data Science description: '' percent: 100 - icon: chart-line - icon_pack: fas + icon: chart-bar - name: SQL description: '' percent: 40 - icon: database - icon_pack: fas + icon: circle-stack - name: Hobbies color: '#eeac02' color_border: '#f0bf23' @@ -73,52 +131,56 @@ skills: - name: Hiking description: '' percent: 60 - icon: person-hiking - icon_pack: fas + icon: person-simple-walk - name: Cats description: '' percent: 100 icon: cat - icon_pack: fas - name: Photography description: '' percent: 80 - icon: camera-retro - icon_pack: fas + icon: camera -# Social/Academic Networking -# For available icons, see: https://docs.hugoblox.com/getting-started/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. -social: - - icon: envelope - icon_pack: fas - link: '/#contact' - - icon: twitter - icon_pack: fab - link: https://twitter.com/GeorgeCushen - label: Follow me on Twitter - display: - header: true - - icon: graduation-cap # Alternatively, use `google-scholar` icon from `ai` icon pack - icon_pack: fas - link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ - - icon: github - icon_pack: fab - link: https://github.com/gcushen - - 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/uploads/resume.pdf`, enable `ai` icons in `params.yaml`, - # and uncomment the lines below. - - icon: cv - icon_pack: ai - link: uploads/resume.pdf +languages: + - name: English + percent: 100 + - name: Chinese + percent: 75 + - name: Portuguese + percent: 25 -# Highlight the author in author lists? (true/false) -highlight_name: true +# Awards. +# Add/remove as many awards below as you like. +# Only `title`, `awarder`, and `date` are required. +# Begin multi-line `summary` with YAML's `|` or `|2-` multi-line prefix and indent 2 spaces below. +awards: + - title: Neural Networks and Deep Learning + url: https://www.coursera.org/learn/neural-networks-deep-learning + date: '2023-11-25' + awarder: Coursera + icon: coursera + summary: | + I studied the foundational concept of neural networks and deep learning. By the end, I was familiar with the significant technological trends driving the rise of deep learning; build, train, and apply fully connected deep neural networks; implement efficient (vectorized) neural networks; identify key parameters in a neural network’s architecture; and apply deep learning to your own applications. + - title: Blockchain Fundamentals + url: https://www.edx.org/professional-certificate/uc-berkeleyx-blockchain-fundamentals + date: '2023-07-01' + awarder: edX + icon: edx + summary: | + Learned: + - Synthesize your own blockchain solutions + - Gain an in-depth understanding of the specific mechanics of Bitcoin + - Understand Bitcoin’s real-life applications and learn how to attack and destroy Bitcoin, Ethereum, smart contracts and Dapps, and alternatives to Bitcoin’s Proof-of-Work consensus algorithm + - title: 'Object-Oriented Programming in R' + url: https://www.datacamp.com/courses/object-oriented-programming-with-s3-and-r6-in-r + certificate_url: https://www.datacamp.com + date: '2023-01-21' + awarder: datacamp + icon: datacamp + summary: | + Object-oriented programming (OOP) lets you specify relationships between functions and the objects that they can act on, helping you manage complexity in your code. This is an intermediate level course, providing an introduction to OOP, using the S3 and R6 systems. S3 is a great day-to-day R programming tool that simplifies some of the functions that you write. R6 is especially useful for industry-specific analyses, working with web APIs, and building GUIs. --- +## About Me + Chien Shiung Wu is a professor of artificial intelligence at the Stanford AI Lab. Her research interests include distributed robotics, mobile computing and programmable matter. She leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks. -{style="text-align: justify;"} diff --git a/content/event/_index.md b/content/event/_index.md index 28aab40..77c72f4 100644 --- a/content/event/_index.md +++ b/content/event/_index.md @@ -1,15 +1,13 @@ --- title: Recent & Upcoming Talks cms_exclude: true +#url: talk -# View. -# 1 = List -# 2 = Compact -# 3 = Card -view: 2 +# View +view: card -# Optional header image (relative to `static/media/` folder). -header: +# Optional cover image (relative to `assets/media/` folder). +image: caption: '' - image: '' + filename: '' --- diff --git a/content/event/example/index.md b/content/event/example/index.md index 1819557..b68f9e7 100644 --- a/content/event/example/index.md +++ b/content/event/example/index.md @@ -24,7 +24,9 @@ all_day: false # Schedule page publish date (NOT talk date). publishDate: '2017-01-01T00:00:00Z' -authors: [] +authors: + - admin + tags: [] # Is this a featured talk? (true/false) @@ -34,22 +36,22 @@ image: caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/bzdhc5b3Bxs)' focal_point: Right -links: - - icon: twitter - icon_pack: fab - name: Follow - url: https://twitter.com/georgecushen -url_code: '' +#links: +# - icon: twitter +# icon_pack: fab +# name: Follow +# url: https://twitter.com/georgecushen +url_code: 'https://github.com' url_pdf: '' -url_slides: '' -url_video: '' +url_slides: 'https://slideshare.net' +url_video: 'https://youtube.com' # Markdown Slides (optional). # Associate this talk with Markdown slides. # Simply enter your slide deck's filename without extension. # E.g. `slides = "example-slides"` references `content/slides/example-slides.md`. # Otherwise, set `slides = ""`. -slides: example +slides: "" # Projects (optional). # Associate this post with one or more of your projects. diff --git a/content/experience.md b/content/experience.md new file mode 100644 index 0000000..9b6f696 --- /dev/null +++ b/content/experience.md @@ -0,0 +1,35 @@ +--- +title: 'Experience' +date: 2023-10-24 +type: landing + +design: + spacing: '5rem' + +# Note: `username` refers to the user's folder name in `content/authors/` + +# Page sections +sections: + - block: resume-experience + content: + username: admin + design: + # Hugo date format + date_format: 'January 2006' + # Education or Experience section first? + is_education_first: false + - block: resume-skills + content: + title: Skills & Hobbies + username: admin + design: + show_skill_percentage: false + - block: resume-awards + content: + title: Awards + username: admin + - block: resume-languages + content: + title: Languages + username: admin +--- diff --git a/content/post/_index.md b/content/post/_index.md index 5f492f8..c067352 100644 --- a/content/post/_index.md +++ b/content/post/_index.md @@ -1,15 +1,4 @@ --- -title: Posts -cms_exclude: true - -# View. -# 1 = List -# 2 = Compact -# 3 = Card -view: 2 - -# Optional header image (relative to `static/media/` folder). -header: - caption: '' - image: '' +title: Blog +view: article-grid --- diff --git a/content/post/blog-with-jupyter/featured.png b/content/post/blog-with-jupyter/featured.png deleted file mode 100644 index 9bf5550..0000000 Binary files a/content/post/blog-with-jupyter/featured.png and /dev/null differ diff --git a/content/post/blog-with-jupyter/index.md b/content/post/blog-with-jupyter/index.md deleted file mode 100644 index 3feaa7a..0000000 --- a/content/post/blog-with-jupyter/index.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: Blog with Jupyter Notebooks! -date: '2023-11-04' -summary: Easily blog from Jupyter notebooks! ---- - - -```python -from IPython.core.display import Image -Image('https://www.python.org/static/community_logos/python-logo-master-v3-TM-flattened.png') -``` - - -![png](output_1_0.png) - - -```python -print("Welcome to Academic!") -``` - - Welcome to Academic! - -## Organize your notebooks - -Place the notebooks that you would like to publish in a `notebooks` folder at the root of your website. - -## Import the notebooks into your site - -```bash -pipx install academic -academic import 'notebooks/**.ipynb' content/post/ --verbose -``` - -The notebooks will be published to the folder you specify above. In this case, they will be published to your `content/post/` folder. diff --git a/content/post/blog-with-jupyter/output_1_0.png b/content/post/blog-with-jupyter/output_1_0.png deleted file mode 100644 index 738f6ed..0000000 Binary files a/content/post/blog-with-jupyter/output_1_0.png and /dev/null differ diff --git a/content/post/data-visualization/featured.jpg b/content/post/data-visualization/featured.jpg new file mode 100644 index 0000000..8c97312 Binary files /dev/null and b/content/post/data-visualization/featured.jpg differ diff --git a/content/post/data-visualization/index.md b/content/post/data-visualization/index.md new file mode 100644 index 0000000..6b387e9 --- /dev/null +++ b/content/post/data-visualization/index.md @@ -0,0 +1,155 @@ +--- +title: 📈 Communicate your results effectively with the best data visualizations +summary: Use popular tools such as Plotly, Mermaid, and data frames. +date: 2023-10-26 +tags: + - Hugo + - Wowchemy + - Markdown +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com)' +--- + +Wowchemy is designed to give technical content creators a seamless experience. You can focus on the content and Wowchemy handles the rest. + +Use popular tools such as Plotly, Mermaid, and data frames. + +## Charts + +Wowchemy supports the popular [Plotly](https://plot.ly/) format for interactive data visualizations. With Plotly, you can design almost any kind of visualization you can imagine! + +Save your Plotly JSON in your page folder, for example `line-chart.json`, and then add the `{{}}` 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. + +## Diagrams + +Wowchemy supports the _Mermaid_ Markdown extension for diagrams. + +An example **flowchart**: + + ```mermaid + graph TD + A[Hard] -->|Text| B(Round) + B --> C{Decision} + C -->|One| D[Result 1] + C -->|Two| E[Result 2] + ``` + +renders as + +```mermaid +graph TD +A[Hard] -->|Text| B(Round) +B --> C{Decision} +C -->|One| D[Result 1] +C -->|Two| E[Result 2] +``` + +An example **sequence diagram**: + + ```mermaid + sequenceDiagram + Alice->>John: Hello John, how are you? + loop Healthcheck + John->>John: Fight against hypochondria + end + Note right of John: Rational thoughts! + John-->>Alice: Great! + John->>Bob: How about you? + Bob-->>John: Jolly good! + ``` + +renders as + +```mermaid +sequenceDiagram +Alice->>John: Hello John, how are you? +loop Healthcheck + John->>John: Fight against hypochondria +end +Note right of John: Rational thoughts! +John-->>Alice: Great! +John->>Bob: How about you? +Bob-->>John: Jolly good! +``` + +An example **class diagram**: + + ```mermaid + classDiagram + Class01 <|-- AveryLongClass : Cool + Class03 *-- Class04 + Class05 o-- Class06 + Class07 .. Class08 + Class09 --> C2 : Where am i? + Class09 --* C3 + Class09 --|> Class07 + Class07 : equals() + Class07 : Object[] elementData + Class01 : size() + Class01 : int chimp + Class01 : int gorilla + Class08 <--> C2: Cool label + ``` + +renders as + +```mermaid +classDiagram +Class01 <|-- AveryLongClass : Cool +Class03 *-- Class04 +Class05 o-- Class06 +Class07 .. Class08 +Class09 --> C2 : Where am i? +Class09 --* C3 +Class09 --|> Class07 +Class07 : equals() +Class07 : Object[] elementData +Class01 : size() +Class01 : int chimp +Class01 : int gorilla +Class08 <--> C2: Cool label +``` + +An example **state diagram**: + + ```mermaid + stateDiagram + [*] --> Still + Still --> [*] + Still --> Moving + Moving --> Still + Moving --> Crash + Crash --> [*] + ``` + +renders as + +```mermaid +stateDiagram +[*] --> Still +Still --> [*] +Still --> Moving +Moving --> Still +Moving --> Crash +Crash --> [*] +``` + +## Data Frames + +Save your spreadsheet as a CSV file in your page's folder and then render it by adding the _Table_ shortcode to your page: + +```go +{{}} +``` + +renders as + +{{< table path="results.csv" header="true" caption="Table 1: My results" >}} + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/post/writing-technical-content/line-chart.json b/content/post/data-visualization/line-chart.json similarity index 100% rename from content/post/writing-technical-content/line-chart.json rename to content/post/data-visualization/line-chart.json diff --git a/content/post/writing-technical-content/results.csv b/content/post/data-visualization/results.csv similarity index 100% rename from content/post/writing-technical-content/results.csv rename to content/post/data-visualization/results.csv diff --git a/content/post/get-started/featured.jpg b/content/post/get-started/featured.jpg new file mode 100644 index 0000000..4d20ee1 Binary files /dev/null and b/content/post/get-started/featured.jpg differ diff --git a/content/post/getting-started/index.md b/content/post/get-started/index.md similarity index 58% rename from content/post/getting-started/index.md rename to content/post/get-started/index.md index 90dd4dc..aaa12c6 100644 --- a/content/post/getting-started/index.md +++ b/content/post/get-started/index.md @@ -1,50 +1,23 @@ --- -title: Welcome to Hugo Blox Builder, the website builder for Hugo -subtitle: Welcome 👋 We know that first impressions are important, so we've populated your new site with some initial content to help you get familiar with everything in no time. - -# Summary for listings and search engines -summary: Welcome 👋 We know that first impressions are important, so we've populated your new site with some initial content to help you get familiar with everything in no time. - -# Link this post with a project -projects: [] - -# Date published -date: '2020-12-13T00:00:00Z' - -# Date updated -lastmod: '2020-12-13T00:00:00Z' - -# Is this an unpublished draft? -draft: false - -# Show this page in the Featured widget? -featured: false +title: 🎉 Easily create your own simple yet highly customizable blog +summary: Take full control of your personal brand and privacy by migrating away from the big tech platforms! +date: 2023-10-27 # Featured image # Place an image named `featured.jpg/png` in this page's folder and customize its options here. image: - caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/CpkOjOcXdUY)' - focal_point: '' - placement: 2 - preview_only: false + caption: 'Image credit: [**Unsplash**](https://unsplash.com)' authors: - admin - - 吳恩達 tags: - Academic - - 开源 - -categories: - - Demo - - 教程 + - Wowchemy + - Markdown --- -```python -import libr -print('hello') -``` +Welcome 👋 ## Overview @@ -61,7 +34,7 @@ print('hello') - 💬 [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&src=typed_query) - 💡 [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/HugoBlox/hugo-blox-builder/issues) -- ⬆️ **Updating Wowchemy?** View the [Update Tutorial](https://docs.hugoblox.com/hugo-tutorials/update/) and [Release Notes](https://hugoblox.com/updates/) +- ⬆️ **Updating Wowchemy?** View the [Update Guide](https://docs.hugoblox.com/reference/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases) ## Crowd-funded open-source software @@ -73,25 +46,25 @@ As a token of appreciation for sponsoring, you can **unlock [these](https://hugo ## Ecosystem -- **[Hugo Academic CLI](https://github.com/GetRD/academic-file-converter):** Automatically import publications from BibTeX +- **[Bibtex To Markdown](https://github.com/GetRD/academic-file-converter):** Automatically import publications from BibTeX ## Inspiration -[Check out the latest **demo**](https://academic-demo.netlify.com/) of what you'll get in less than 10 minutes, or [view the **showcase**](https://hugoblox.com/user-stories/) of personal, project, and business sites. +[Learn what other **creators**](https://hugoblox.com/creators/) are building with this template. ## Features -- **Page builder** - Create _anything_ with [**widgets**](https://docs.hugoblox.com/page-builder/) and [**elements**](https://docs.hugoblox.com/content/writing-markdown-latex/) +- **Page builder** - Create _anything_ with no-code [**blocks**](https://hugoblox.com/blocks/) and [**elements**](https://docs.hugoblox.com/reference/markdown/) - **Edit any type of content** - Blog posts, publications, talks, slides, projects, and more! -- **Create content** in [**Markdown**](https://docs.hugoblox.com/content/writing-markdown-latex/), [**Jupyter**](https://docs.hugoblox.com/import/jupyter/), or [**RStudio**](https://docs.hugoblox.com/install-locally/) -- **Plugin System** - Fully customizable [**color** and **font themes**](https://docs.hugoblox.com/customization/) -- **Display Code and Math** - Code highlighting and [LaTeX math](https://en.wikibooks.org/wiki/LaTeX/Mathematics) supported +- **Create content** in [**Markdown**](https://docs.hugoblox.com/reference/markdown/), [**Jupyter**](https://docs.hugoblox.com/getting-started/cms/), or [**RStudio**](https://docs.hugoblox.com/getting-started/cms/) +- **Plugin System** - Fully customizable [**color** and **font themes**](https://docs.hugoblox.com/getting-started/customize/) +- **Display Code and Math** - Code syntax highlighting and LaTeX math 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 +- **Beautiful Site** - Simple and refreshing one-page design - **Industry-Leading SEO** - Help get your website found on search engines and social media - **Media Galleries** - Display your images and videos with captions in a customizable gallery - **Mobile Friendly** - Look amazing on every screen with a mobile friendly version of your site -- **Multi-language** - 34+ language packs including English, 中文, and Português +- **Multi-language** - 35+ language packs including English, 中文, and Português - **Multi-user** - Each author gets their own profile page - **Privacy Pack** - Assists with GDPR - **Stand Out** - Bring your site to life with animation, parallax backgrounds, and scroll effects @@ -99,12 +72,12 @@ As a token of appreciation for sponsoring, you can **unlock [these](https://hugo ## Themes -Wowchemy and its templates come with **automatic day (light) and night (dark) mode** built-in. Alternatively, visitors can choose their preferred mode - click the moon icon in the top right of the [Demo](https://academic-demo.netlify.com/) to see it in action! Day/night mode can also be disabled by the site admin in `params.toml`. +Wowchemy and its templates come with **automatic day (light) and night (dark) mode** built-in. Visitors can choose their preferred mode by clicking the sun/moon icon in the header. -[Choose a stunning **theme** and **font**](https://docs.hugoblox.com/customization) for your site. Themes are fully customizable. +[Choose a stunning **theme** and **font**](https://docs.hugoblox.com/getting-started/customize/) for your site. Themes are fully customizable. ## License Copyright 2016-present [George Cushen](https://georgecushen.com). -Released under the [MIT](https://github.com/HugoBlox/hugo-blox-builder/blob/master/LICENSE.md) license. +Released under the [MIT](https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md) license. diff --git a/content/post/getting-started/featured.jpg b/content/post/getting-started/featured.jpg deleted file mode 100644 index 04a7bae..0000000 Binary files a/content/post/getting-started/featured.jpg and /dev/null differ diff --git a/content/post/project-management/featured.jpg b/content/post/project-management/featured.jpg new file mode 100644 index 0000000..a9e0ac0 Binary files /dev/null and b/content/post/project-management/featured.jpg differ diff --git a/content/post/project-management/index.md b/content/post/project-management/index.md new file mode 100644 index 0000000..12534e1 --- /dev/null +++ b/content/post/project-management/index.md @@ -0,0 +1,92 @@ +--- +title: ✅ Manage your projects +summary: Easily manage your projects - create ideation mind maps, Gantt charts, todo lists, and more! +date: 2023-10-23 +tags: + - Wowchemy + - Markdown +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com)' +--- + +Easily manage your projects - create ideation mind maps, Gantt charts, todo lists, and more! + +## Ideation + +Wowchemy supports a Markdown extension for mindmaps. + +Simply insert a Markdown code block labelled as `markmap` and optionally set the height of the mindmap as shown in the example below. + +Mindmaps can be created by simply writing the items as a Markdown list within the `markmap` code block, indenting each item to create as many sub-levels as you need: + +
+
+
+```markmap {height="200px"}
+- Hugo Modules
+  - wowchemy
+  - blox-plugins-netlify
+  - blox-plugins-netlify-cms
+  - blox-plugins-reveal
+```
+
+
+
+ +renders as + +```markmap {height="200px"} +- Hugo Modules + - wowchemy + - blox-plugins-netlify + - blox-plugins-netlify-cms + - blox-plugins-reveal +``` + +## Diagrams + +Wowchemy supports the _Mermaid_ Markdown extension for diagrams. + +An example **Gantt diagram**: + + ```mermaid + gantt + section Section + Completed :done, des1, 2014-01-06,2014-01-08 + Active :active, des2, 2014-01-07, 3d + Parallel 1 : des3, after des1, 1d + Parallel 2 : des4, after des1, 1d + Parallel 3 : des5, after des3, 1d + Parallel 4 : des6, after des4, 1d + ``` + +renders as + +```mermaid +gantt +section Section +Completed :done, des1, 2014-01-06,2014-01-08 +Active :active, des2, 2014-01-07, 3d +Parallel 1 : des3, after des1, 1d +Parallel 2 : des4, after des1, 1d +Parallel 3 : des5, after des3, 1d +Parallel 4 : des6, after des4, 1d +``` + +## Todo lists + +You can even write your todo lists in Markdown too: + +```markdown +- [x] Write math example + - [x] Write diagram example +- [ ] Do something else +``` + +renders as + +- [x] Write math example + - [x] Write diagram example +- [ ] Do something else + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/post/second-brain/featured.jpg b/content/post/second-brain/featured.jpg new file mode 100644 index 0000000..9320048 Binary files /dev/null and b/content/post/second-brain/featured.jpg differ diff --git a/content/post/second-brain/index.md b/content/post/second-brain/index.md new file mode 100644 index 0000000..83fb3ef --- /dev/null +++ b/content/post/second-brain/index.md @@ -0,0 +1,136 @@ +--- +title: 🧠 Sharpen your thinking with a second brain +summary: Create a personal knowledge base and share your knowledge with your peers. +date: 2023-10-26 +tags: + - Second Brain + - Markdown +image: + caption: 'Image credit: [**Unsplash**](https://unsplash.com)' +--- + +Create a personal knowledge base and share your knowledge with your peers. + +Wowchemy web framework empowers you with one of the most flexible note-taking capabilities out there. + +Create a powerful knowledge base that works on top of a local folder of plain text Markdown files. + +Use it as your second brain, either publicly sharing your knowledge with your peers via your website, or via a private GitHub repository and password-protected site just for yourself. + +## Mindmaps + +Wowchemy supports a Markdown extension for mindmaps. + +With this open format, can even edit your mindmaps in other popular tools such as Obsidian. + +Simply insert a Markdown code block labelled as `markmap` and optionally set the height of the mindmap as shown in the example below. + +Mindmaps can be created by simply writing the items as a Markdown list within the `markmap` code block, indenting each item to create as many sub-levels as you need: + +
+
+
+```markmap {height="200px"}
+- Hugo Modules
+  - wowchemy
+  - blox-plugins-netlify
+  - blox-plugins-netlify-cms
+  - blox-plugins-reveal
+```
+
+
+
+ +renders as + +```markmap {height="200px"} +- Hugo Modules + - wowchemy + - blox-plugins-netlify + - blox-plugins-netlify-cms + - blox-plugins-reveal +``` + +Anh here's a more advanced mindmap with formatting, code blocks, and math: + +
+
+
+```markmap
+- Mindmaps
+  - Links
+    - [Wowchemy Docs](https://docs.hugoblox.com/)
+    - [Discord Community](https://discord.gg/z8wNYzb)
+    - [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
+  - Features
+    - Markdown formatting
+    - **inline** ~~text~~ *styles*
+    - multiline
+      text
+    - `inline code`
+    -
+      ```js
+      console.log('hello');
+      console.log('code block');
+      ```
+    - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
+```
+
+
+
+ +renders as + +```markmap +- Mindmaps + - Links + - [Wowchemy Docs](https://docs.hugoblox.com/) + - [Discord Community](https://discord.gg/z8wNYzb) + - [GitHub](https://github.com/HugoBlox/hugo-blox-builder) + - Features + - Markdown formatting + - **inline** ~~text~~ *styles* + - multiline + text + - `inline code` + - + ```js + console.log('hello'); + console.log('code block'); + ``` + - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ +``` + +## Highlighting + +Highlight important text with `mark`: + +```html +Highlighted text +``` + +## Callouts + +Use [callouts](https://docs.hugoblox.com/reference/markdown/#callouts) (aka _asides_, _hints_, or _alerts_) to draw attention to notes, tips, and warnings. + +By wrapping a paragraph in `{{%/* callout note */%}} ... {{%/* /callout */%}}`, it will render as an aside. + +```markdown +{{%/* callout note */%}} +A Markdown aside is useful for displaying notices, hints, or definitions to your readers. +{{%/* /callout */%}} +``` + +renders as + +{{% callout note %}} +A Markdown aside is useful for displaying notices, hints, or definitions to your readers. +{{% /callout %}} + +Or use the `warning` callout type so your readers don't miss critical details: + +{{% callout warning %}} +A Markdown aside is useful for displaying notices, hints, or definitions to your readers. +{{% /callout %}} + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/post/teach-courses/ambient-piano.mp3 b/content/post/teach-courses/ambient-piano.mp3 new file mode 100644 index 0000000..8795f38 Binary files /dev/null and b/content/post/teach-courses/ambient-piano.mp3 differ diff --git a/content/post/teach-courses/featured.jpg b/content/post/teach-courses/featured.jpg new file mode 100644 index 0000000..5b05393 Binary files /dev/null and b/content/post/teach-courses/featured.jpg differ diff --git a/content/post/teach-courses/index.md b/content/post/teach-courses/index.md new file mode 100644 index 0000000..c28f3ac --- /dev/null +++ b/content/post/teach-courses/index.md @@ -0,0 +1,141 @@ +--- +title: 👩🏼‍🏫 Teach academic courses +summary: Embed videos, podcasts, code, LaTeX math, and even test students! +date: 2023-10-24 +math: true +tags: + - Hugo + - Hugo Blox Builder + - Markdown +image: + caption: 'Embed rich media such as videos and LaTeX math' +--- + +[Hugo Blox Builder](https://hugoblox.com) is designed to give technical content creators a seamless experience. You can focus on the content and the Hugo Blox Builder which this template is built upon handles the rest. + +**Embed videos, podcasts, code, LaTeX math, and even test students!** + +On this page, you'll find some examples of the types of technical content that can be rendered with Hugo Blox. + +## Video + +Teach your course by sharing videos with your students. Choose from one of the following approaches: + +{{< youtube D2vj0WcvH5c >}} + +**Youtube**: + + {{}} + +**Bilibili**: + + {{}} + +**Video file** + +Videos may be added to a page by either placing them in your `assets/media/` media library or in your [page's folder](https://gohugo.io/content-management/page-bundles/), and then embedding them with the _video_ shortcode: + + {{}} + +## Podcast + +You can add a podcast or music to a page by placing the MP3 file in the page's folder or the media library folder and then embedding the audio on your page with the _audio_ shortcode: + + {{}} + +Try it out: + +{{< audio src="ambient-piano.mp3" >}} + +## Test students + +Provide a simple yet fun self-assessment by revealing the solutions to challenges with the `spoiler` shortcode: + +```markdown +{{}} +You found me! +{{}} +``` + +renders as + +{{< spoiler text="👉 Click to view the solution" >}} You found me 🎉 {{< /spoiler >}} + +## Math + +Hugo Blox Builder supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.yaml` file. + +To render _inline_ or _block_ math, wrap your LaTeX math with `{{}}$...${{}}` or `{{}}$$...$${{}}`, respectively. + +{{% callout note %}} +We wrap the LaTeX math in the Hugo Blox _math_ shortcode to prevent Hugo rendering our math as Markdown. +{{% /callout %}} + +Example **math block**: + +```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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2} +$$ +{{}} +``` + +renders as + +{{< math >}} +$$\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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ +{{< /math >}} + +Example **inline math** `{{}}$\nabla F(\mathbf{x}_{n})${{}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. + +Example **multi-line math** using the math linebreak (`\\`): + +```latex +{{}} +$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ +{{}} +``` + +renders as + +{{< math >}} + +$$ +f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases} +$$ + +{{< /math >}} + +## Code + +Hugo Blox Builder utilises Hugo's Markdown extension for highlighting code syntax. The code theme can be selected in the `config/_default/params.yaml` file. + + + ```python + import pandas as pd + data = pd.read_csv("data.csv") + data.head() + ``` + +renders as + +```python +import pandas as pd +data = pd.read_csv("data.csv") +data.head() +``` + +## Inline Images + +```go +{{}} Python +``` + +renders as + +{{< icon name="python" >}} Python + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/post/writing-technical-content/featured.jpg b/content/post/writing-technical-content/featured.jpg deleted file mode 100644 index e2c0fb2..0000000 Binary files a/content/post/writing-technical-content/featured.jpg and /dev/null differ diff --git a/content/post/writing-technical-content/index.md b/content/post/writing-technical-content/index.md deleted file mode 100644 index 30bfa0f..0000000 --- a/content/post/writing-technical-content/index.md +++ /dev/null @@ -1,390 +0,0 @@ ---- -title: Writing technical content in Markdown -date: 2019-07-12 -math: true -image: - placement: 2 - caption: 'Image credit: [**John Moeses Bauan**](https://unsplash.com/photos/OGZtQF8iC0g)' ---- - -Hugo Blox Builder is designed to give technical content creators a seamless experience. You can focus on the content and Wowchemy handles the rest. - -**Highlight your code snippets, take notes on math classes, and draw diagrams from textual representation.** - -On this page, you'll find some examples of the types of technical content that can be rendered with Wowchemy. - -## Examples - -### Code - -Wowchemy supports a Markdown extension for highlighting code syntax. You can customize the styles under the `syntax_highlighter` option in your `config/_default/params.yaml` file. - - ```python - import pandas as pd - data = pd.read_csv("data.csv") - data.head() - ``` - -renders as - -```python -import pandas as pd -data = pd.read_csv("data.csv") -data.head() -``` - -### Mindmaps - -Wowchemy supports a Markdown extension for mindmaps. - -Simply insert a Markdown `markmap` code block and optionally set the height of the mindmap as shown in the example below. - -A simple mindmap defined as a Markdown list: - -
-
-
-```markmap {height="200px"}
-- Hugo Modules
-  - wowchemy
-  - blox-plugins-netlify
-  - blox-plugins-netlify-cms
-  - blox-plugins-reveal
-```
-
-
-
- -renders as - -```markmap {height="200px"} -- Hugo Modules - - wowchemy - - blox-plugins-netlify - - blox-plugins-netlify-cms - - blox-plugins-reveal -``` - -A more advanced mindmap with formatting, code blocks, and math: - -
-
-
-```markmap
-- Mindmaps
-  - Links
-    - [Wowchemy Docs](https://docs.hugoblox.com/)
-    - [Discord Community](https://discord.gg/z8wNYzb)
-    - [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
-  - Features
-    - Markdown formatting
-    - **inline** ~~text~~ *styles*
-    - multiline
-      text
-    - `inline code`
-    -
-      ```js
-      console.log('hello');
-      console.log('code block');
-      ```
-    - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$
-```
-
-
-
- -renders as - -```markmap -- Mindmaps - - Links - - [Wowchemy Docs](https://docs.hugoblox.com/) - - [Discord Community](https://discord.gg/z8wNYzb) - - [GitHub](https://github.com/HugoBlox/hugo-blox-builder) - - Features - - Markdown formatting - - **inline** ~~text~~ *styles* - - multiline - text - - `inline code` - - - ```js - console.log('hello'); - console.log('code block'); - ``` - - Math: $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ -``` - -### Charts - -Wowchemy supports the popular [Plotly](https://plot.ly/) format for interactive charts. - -Save your Plotly JSON in your page folder, for example `line-chart.json`, and then add the `{{}}` 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 - -Wowchemy supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.yaml` file. - -To render _inline_ or _block_ math, wrap your LaTeX math with `{{}}$...${{}}` or `{{}}$$...$${{}}`, respectively. (We wrap the LaTeX math in the Wowchemy _math_ shortcode to prevent Hugo rendering our math as Markdown. The _math_ shortcode is new in v5.5-dev.) - -Example **math block**: - -```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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2} -$$ -{{}} -``` - -renders as - -{{< math >}} -$$\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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ -{{< /math >}} - -Example **inline math** `{{}}$\nabla F(\mathbf{x}_{n})${{}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. - -Example **multi-line math** using the math linebreak (`\\`): - -```latex -{{}} -$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ -1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ -{{}} -``` - -renders as - -{{< math >}} - -$$ -f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ -1-p_{0}^{*} & \text{if }k=0.\end{cases} -$$ - -{{< /math >}} - -### Diagrams - -Wowchemy supports a Markdown extension for diagrams. You can enable this feature by toggling the `diagram` option in your `config/_default/params.toml` file or by adding `diagram: true` to your page front matter. - -An example **flowchart**: - - ```mermaid - graph TD - A[Hard] -->|Text| B(Round) - B --> C{Decision} - C -->|One| D[Result 1] - C -->|Two| E[Result 2] - ``` - -renders as - -```mermaid -graph TD -A[Hard] -->|Text| B(Round) -B --> C{Decision} -C -->|One| D[Result 1] -C -->|Two| E[Result 2] -``` - -An example **sequence diagram**: - - ```mermaid - sequenceDiagram - Alice->>John: Hello John, how are you? - loop Healthcheck - John->>John: Fight against hypochondria - end - Note right of John: Rational thoughts! - John-->>Alice: Great! - John->>Bob: How about you? - Bob-->>John: Jolly good! - ``` - -renders as - -```mermaid -sequenceDiagram -Alice->>John: Hello John, how are you? -loop Healthcheck - John->>John: Fight against hypochondria -end -Note right of John: Rational thoughts! -John-->>Alice: Great! -John->>Bob: How about you? -Bob-->>John: Jolly good! -``` - -An example **Gantt diagram**: - - ```mermaid - gantt - section Section - Completed :done, des1, 2014-01-06,2014-01-08 - Active :active, des2, 2014-01-07, 3d - Parallel 1 : des3, after des1, 1d - Parallel 2 : des4, after des1, 1d - Parallel 3 : des5, after des3, 1d - Parallel 4 : des6, after des4, 1d - ``` - -renders as - -```mermaid -gantt -section Section -Completed :done, des1, 2014-01-06,2014-01-08 -Active :active, des2, 2014-01-07, 3d -Parallel 1 : des3, after des1, 1d -Parallel 2 : des4, after des1, 1d -Parallel 3 : des5, after des3, 1d -Parallel 4 : des6, after des4, 1d -``` - -An example **class diagram**: - - ```mermaid - classDiagram - Class01 <|-- AveryLongClass : Cool - Class03 *-- Class04 - Class05 o-- Class06 - Class07 .. Class08 - Class09 --> C2 : Where am i? - Class09 --* C3 - Class09 --|> Class07 - Class07 : equals() - Class07 : Object[] elementData - Class01 : size() - Class01 : int chimp - Class01 : int gorilla - Class08 <--> C2: Cool label - ``` - -renders as - -```mermaid -classDiagram -Class01 <|-- AveryLongClass : Cool -Class03 *-- Class04 -Class05 o-- Class06 -Class07 .. Class08 -Class09 --> C2 : Where am i? -Class09 --* C3 -Class09 --|> Class07 -Class07 : equals() -Class07 : Object[] elementData -Class01 : size() -Class01 : int chimp -Class01 : int gorilla -Class08 <--> C2: Cool label -``` - -An example **state diagram**: - - ```mermaid - stateDiagram - [*] --> Still - Still --> [*] - Still --> Moving - Moving --> Still - Moving --> Crash - Crash --> [*] - ``` - -renders as - -```mermaid -stateDiagram -[*] --> Still -Still --> [*] -Still --> Moving -Moving --> Still -Moving --> Crash -Crash --> [*] -``` - -### Todo lists - -You can even write your todo lists in Markdown too: - -```markdown -- [x] Write math example - - [x] Write diagram example -- [ ] Do something else -``` - -renders as - -- [x] Write math example - - [x] Write diagram example -- [ ] Do something else - -### Tables - -Save your spreadsheet as a CSV file in your page's folder and then render it by adding the _Table_ shortcode to your page: - -```go -{{}} -``` - -renders as - -{{< table path="results.csv" header="true" caption="Table 1: My results" >}} - -### Callouts - -Academic supports a [shortcode for callouts](https://docs.hugoblox.com/content/writing-markdown-latex/#callouts), also referred to as _asides_, _hints_, or _alerts_. By wrapping a paragraph in `{{%/* callout note */%}} ... {{%/* /callout */%}}`, it will render as an aside. - -```markdown -{{%/* callout note */%}} -A Markdown aside is useful for displaying notices, hints, or definitions to your readers. -{{%/* /callout */%}} -``` - -renders as - -{{% callout note %}} -A Markdown aside is useful for displaying notices, hints, or definitions to your readers. -{{% /callout %}} - -### Spoilers - -Add a spoiler to a page to reveal text, such as an answer to a question, after a button is clicked. - -```markdown -{{}} -You found me! -{{}} -``` - -renders as - -{{< spoiler text="Click to view the spoiler" >}} You found me! {{< /spoiler >}} - -### Icons - -Academic enables you to use a wide range of [icons from _Font Awesome_ and _Academicons_](https://docs.hugoblox.com/getting-started/page-builder/#icons) in addition to [emojis](https://docs.hugoblox.com/content/writing-markdown-latex/#emojis). - -Here are some examples using the `icon` shortcode to render icons: - -```markdown -{{}} Terminal -{{}} Python -{{}} R -``` - -renders as - -{{< icon name="terminal" pack="fas" >}} Terminal -{{< icon name="python" pack="fab" >}} Python -{{< icon name="r-project" pack="fab" >}} R - -### Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/privacy.md b/content/privacy.md deleted file mode 100644 index e4f9c02..0000000 --- a/content/privacy.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Privacy Policy -date: '2018-06-28T00:00:00+01:00' -draft: true -share: false -commentable: false -editable: false - -# Optional header image (relative to `static/media/` folder). -header: - caption: '' - image: '' ---- - -Add your privacy policy here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it. diff --git a/content/project/example/featured.gif b/content/project/example/featured.gif deleted file mode 100644 index 984ec1b..0000000 Binary files a/content/project/example/featured.gif and /dev/null differ diff --git a/content/project/example/index.md b/content/project/example/index.md deleted file mode 100644 index ebe342f..0000000 --- a/content/project/example/index.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: Example Project -summary: An example of using the in-built project page. -tags: - - Deep Learning -date: '2016-04-27T00:00:00Z' - -# Optional external URL for project (replaces project detail page). -external_link: '' - -image: - caption: Photo by rawpixel on Unsplash - focal_point: Smart - -links: - - icon: twitter - icon_pack: fab - name: Follow - url: https://twitter.com/georgecushen -url_code: '' -url_pdf: '' -url_slides: '' -url_video: '' - -# Slides (optional). -# Associate this project with Markdown slides. -# Simply enter your slide deck's filename without extension. -# E.g. `slides = "example-slides"` references `content/slides/example-slides.md`. -# Otherwise, set `slides = ""`. -slides: example ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida. - -Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus. - -Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus. - -Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare. - -Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at. diff --git a/content/project/external-project/featured.jpg b/content/project/external-project/featured.jpg deleted file mode 100644 index 050f74d..0000000 Binary files a/content/project/external-project/featured.jpg and /dev/null differ diff --git a/content/project/external-project/index.md b/content/project/external-project/index.md deleted file mode 100644 index 0ddfa59..0000000 --- a/content/project/external-project/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: External Project -summary: An example of linking directly to an external project website using `external_link`. -tags: - - Demo -date: "2016-04-27T00:00:00Z" - -# Optional external URL for project (replaces project detail page). -external_link: https://example.org - -image: - caption: Photo by Toa Heftiba on Unsplash - focal_point: Smart ---- diff --git a/content/project/pandas/featured.png b/content/project/pandas/featured.png new file mode 100644 index 0000000..719bb52 Binary files /dev/null and b/content/project/pandas/featured.png differ diff --git a/content/project/pandas/index.md b/content/project/pandas/index.md new file mode 100644 index 0000000..28b279b --- /dev/null +++ b/content/project/pandas/index.md @@ -0,0 +1,13 @@ +--- +title: Pandas +date: 2023-10-26 +external_link: https://github.com/pandas-dev/pandas +tags: + - Hugo + - Wowchemy + - Markdown +--- + +Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures. + + diff --git a/content/project/pytorch/featured.png b/content/project/pytorch/featured.png new file mode 100644 index 0000000..c746af9 Binary files /dev/null and b/content/project/pytorch/featured.png differ diff --git a/content/project/pytorch/index.md b/content/project/pytorch/index.md new file mode 100644 index 0000000..9ae18e6 --- /dev/null +++ b/content/project/pytorch/index.md @@ -0,0 +1,13 @@ +--- +title: PyTorch +date: 2023-10-26 +external_link: https://github.com/pytorch/pytorch +tags: + - Hugo + - Wowchemy + - Markdown +--- + +PyTorch is a Python package that provides tensor computation (like NumPy) with strong GPU acceleration. + + diff --git a/content/project/scikit/featured.png b/content/project/scikit/featured.png new file mode 100644 index 0000000..f6a42aa Binary files /dev/null and b/content/project/scikit/featured.png differ diff --git a/content/project/scikit/index.md b/content/project/scikit/index.md new file mode 100644 index 0000000..fa208ef --- /dev/null +++ b/content/project/scikit/index.md @@ -0,0 +1,13 @@ +--- +title: scikit-learn +date: 2023-10-26 +external_link: https://github.com/scikit-learn/scikit-learn +tags: + - Hugo + - Wowchemy + - Markdown +--- + +scikit-learn is a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license. + + diff --git a/content/projects.md b/content/projects.md new file mode 100644 index 0000000..cda3be1 --- /dev/null +++ b/content/projects.md @@ -0,0 +1,23 @@ +--- +title: 'Projects' +date: 2024-05-19 +type: landing + +design: + # Section spacing + spacing: '5rem' + +# Page sections +sections: + - block: collection + content: + title: Selected Projects + text: I enjoy making things. Here are a selection of projects that I have worked on over the years. + filters: + folders: + - project + design: + view: article-grid + fill_image: false + columns: 3 +--- diff --git a/content/publication/_index.md b/content/publication/_index.md index 61b5092..b7abddf 100644 --- a/content/publication/_index.md +++ b/content/publication/_index.md @@ -3,11 +3,7 @@ title: Publications cms_exclude: true # View. -# 1 = List -# 2 = Compact -# 3 = Card -# 4 = Citation -view: 4 +view: citation # Optional header image (relative to `static/media/` folder). banner: diff --git a/content/publication/conference-paper/index.md b/content/publication/conference-paper/index.md index 3833d80..fc8d850 100644 --- a/content/publication/conference-paper/index.md +++ b/content/publication/conference-paper/index.md @@ -33,7 +33,8 @@ abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere # Summary. An optional shortened abstract. summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. -tags: [] +tags: + - Large Language Models # Display this page in the Featured widget? featured: true diff --git a/content/publication/preprint/index.md b/content/publication/preprint/index.md index ccb94da..5c9ad1e 100644 --- a/content/publication/preprint/index.md +++ b/content/publication/preprint/index.md @@ -23,8 +23,9 @@ abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. tags: -- Source Themes -featured: false +- Large Language Models + +featured: true links: - name: Custom Link @@ -61,6 +62,8 @@ projects: slides: example --- +This work is driven by the results in my [previous paper](/publication/conference-paper/) on LLMs. + {{% callout note %}} Create your slides in Markdown - click the *Slides* button to check out the example. {{% /callout %}} diff --git a/content/slides/example/index.md b/content/slides/example/index.md deleted file mode 100644 index de42c4e..0000000 --- a/content/slides/example/index.md +++ /dev/null @@ -1,169 +0,0 @@ ---- -title: Slides -summary: An introduction to using Hugo Blox Builder's Slides feature. -authors: [] -tags: [] -categories: [] -date: '2019-02-05T00:00:00Z' -slides: - # Choose a theme from https://github.com/hakimel/reveal.js#theming - theme: black - # Choose a code highlighting style (if highlighting enabled in `params.toml`) - # Light style: github. Dark style: dracula (default). - highlight_style: dracula ---- - -# Create slides in Markdown with Hugo Blox Builder - -[Hugo Blox Builder](https://hugoblox.com/) | [Documentation](https://docs.hugoblox.com/content/slides/) - ---- - -## Features - -- Efficiently write slides in Markdown -- 3-in-1: Create, Present, and Publish your slides -- Supports speaker notes -- Mobile friendly slides - ---- - -## Controls - -- Next: `Right Arrow` or `Space` -- Previous: `Left Arrow` -- Start: `Home` -- Finish: `End` -- Overview: `Esc` -- Speaker notes: `S` -- Fullscreen: `F` -- Zoom: `Alt + Click` -- [PDF Export](https://revealjs.com/pdf-export/) - ---- - -## Code Highlighting - -Inline code: `variable` - -Code block: - -```python -porridge = "blueberry" -if porridge == "blueberry": - print("Eating...") -``` - ---- - -## Math - -In-line math: $x + y = z$ - -Block math: - -$$ -f\left( x \right) = \;\frac{{2\left( {x + 4} \right)\left( {x - 4} \right)}}{{\left( {x + 4} \right)\left( {x + 1} \right)}} -$$ - ---- - -## Fragments - -Make content appear incrementally - -``` -{{%/* fragment */%}} One {{%/* /fragment */%}} -{{%/* fragment */%}} **Two** {{%/* /fragment */%}} -{{%/* fragment */%}} Three {{%/* /fragment */%}} -``` - -Press `Space` to play! - -{{% fragment %}} One {{% /fragment %}} -{{% fragment %}} **Two** {{% /fragment %}} -{{% fragment %}} Three {{% /fragment %}} - ---- - -A fragment can accept two optional parameters: - -- `class`: use a custom style (requires definition in custom CSS) -- `weight`: sets the order in which a fragment appears - ---- - -## Speaker Notes - -Add speaker notes to your presentation - -```markdown -{{%/* speaker_note */%}} - -- Only the speaker can read these notes -- Press `S` key to view - {{%/* /speaker_note */%}} -``` - -Press the `S` key to view the speaker notes! - -{{< speaker_note >}} - -- Only the speaker can read these notes -- Press `S` key to view - {{< /speaker_note >}} - ---- - -## Themes - -- black: Black background, white text, blue links (default) -- white: White background, black text, blue links -- league: Gray background, white text, blue links -- beige: Beige background, dark text, brown links -- sky: Blue background, thin dark text, blue links - ---- - -- night: Black background, thick white text, orange links -- serif: Cappuccino background, gray text, brown links -- simple: White background, black text, blue links -- solarized: Cream-colored background, dark green text, blue links - ---- - -{{< slide background-image="/media/boards.jpg" >}} - -## Custom Slide - -Customize the slide style and background - -```markdown -{{}} -{{}} -{{}} -``` - ---- - -## Custom CSS Example - -Let's make headers navy colored. - -Create `assets/css/reveal_custom.css` with: - -```css -.reveal section h1, -.reveal section h2, -.reveal section h3 { - color: navy; -} -``` - ---- - -# Questions? - -[Ask](https://discord.gg/z8wNYzb) - -[Documentation](https://docs.hugoblox.com/content/slides/) diff --git a/content/teaching/_index.md b/content/teaching/_index.md new file mode 100644 index 0000000..f8e6bfa --- /dev/null +++ b/content/teaching/_index.md @@ -0,0 +1,23 @@ +--- +title: Teaching +summary: My courses +type: landing + +cascade: + - _target: + kind: page + params: + show_breadcrumb: true + +sections: + - block: collection + id: teaching + content: + title: Teaching + filters: + folders: + - teaching + design: + view: article-grid + columns: 2 +--- diff --git a/content/teaching/js/ambient-piano.mp3 b/content/teaching/js/ambient-piano.mp3 new file mode 100644 index 0000000..8795f38 Binary files /dev/null and b/content/teaching/js/ambient-piano.mp3 differ diff --git a/content/teaching/js/featured.jpg b/content/teaching/js/featured.jpg new file mode 100644 index 0000000..5b05393 Binary files /dev/null and b/content/teaching/js/featured.jpg differ diff --git a/content/teaching/js/index.md b/content/teaching/js/index.md new file mode 100644 index 0000000..de12d09 --- /dev/null +++ b/content/teaching/js/index.md @@ -0,0 +1,140 @@ +--- +title: Learn JavaScript +summary: Easily learn JavaScript in 10 minutes! +date: 2023-10-24 +type: docs +math: false +tags: + - JavaScript +image: + caption: 'Embed rich media such as videos and LaTeX math' +--- + +[Hugo Blox Builder](https://hugoblox.com) is designed to give technical content creators a seamless experience. You can focus on the content and the Hugo Blox Builder which this template is built upon handles the rest. + +**Embed videos, podcasts, code, LaTeX math, and even test students!** + +On this page, you'll find some examples of the types of technical content that can be rendered with Hugo Blox. + +## Video + +Teach your course by sharing videos with your students. Choose from one of the following approaches: + +{{< youtube D2vj0WcvH5c >}} + +**Youtube**: + + {{}} + +**Bilibili**: + + {{}} + +**Video file** + +Videos may be added to a page by either placing them in your `assets/media/` media library or in your [page's folder](https://gohugo.io/content-management/page-bundles/), and then embedding them with the _video_ shortcode: + + {{}} + +## Podcast + +You can add a podcast or music to a page by placing the MP3 file in the page's folder or the media library folder and then embedding the audio on your page with the _audio_ shortcode: + + {{}} + +Try it out: + +{{< audio src="ambient-piano.mp3" >}} + +## Test students + +Provide a simple yet fun self-assessment by revealing the solutions to challenges with the `spoiler` shortcode: + +```markdown +{{}} +You found me! +{{}} +``` + +renders as + +{{< spoiler text="👉 Click to view the solution" >}} You found me 🎉 {{< /spoiler >}} + +## Math + +Hugo Blox Builder supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.yaml` file. + +To render _inline_ or _block_ math, wrap your LaTeX math with `{{}}$...${{}}` or `{{}}$$...$${{}}`, respectively. + +{{% callout note %}} +We wrap the LaTeX math in the Hugo Blox _math_ shortcode to prevent Hugo rendering our math as Markdown. +{{% /callout %}} + +Example **math block**: + +```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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2} +$$ +{{}} +``` + +renders as + +{{< math >}} +$$\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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ +{{< /math >}} + +Example **inline math** `{{}}$\nabla F(\mathbf{x}_{n})${{}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. + +Example **multi-line math** using the math linebreak (`\\`): + +```latex +{{}} +$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ +{{}} +``` + +renders as + +{{< math >}} + +$$ +f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases} +$$ + +{{< /math >}} + +## Code + +Hugo Blox Builder utilises Hugo's Markdown extension for highlighting code syntax. The code theme can be selected in the `config/_default/params.yaml` file. + + + ```python + import pandas as pd + data = pd.read_csv("data.csv") + data.head() + ``` + +renders as + +```python +import pandas as pd +data = pd.read_csv("data.csv") +data.head() +``` + +## Inline Images + +```go +{{}} Python +``` + +renders as + +{{< icon name="python" >}} Python + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/teaching/python/ambient-piano.mp3 b/content/teaching/python/ambient-piano.mp3 new file mode 100644 index 0000000..8795f38 Binary files /dev/null and b/content/teaching/python/ambient-piano.mp3 differ diff --git a/content/teaching/python/featured.jpg b/content/teaching/python/featured.jpg new file mode 100644 index 0000000..5b05393 Binary files /dev/null and b/content/teaching/python/featured.jpg differ diff --git a/content/teaching/python/index.md b/content/teaching/python/index.md new file mode 100644 index 0000000..60a0b42 --- /dev/null +++ b/content/teaching/python/index.md @@ -0,0 +1,140 @@ +--- +title: Learn Python +summary: Easily learn Python in 10 minutes! +date: 2023-10-24 +type: docs +math: false +tags: + - Python +image: + caption: 'Embed rich media such as videos and LaTeX math' +--- + +[Hugo Blox Builder](https://hugoblox.com) is designed to give technical content creators a seamless experience. You can focus on the content and the Hugo Blox Builder which this template is built upon handles the rest. + +**Embed videos, podcasts, code, LaTeX math, and even test students!** + +On this page, you'll find some examples of the types of technical content that can be rendered with Hugo Blox. + +## Video + +Teach your course by sharing videos with your students. Choose from one of the following approaches: + +{{< youtube D2vj0WcvH5c >}} + +**Youtube**: + + {{}} + +**Bilibili**: + + {{}} + +**Video file** + +Videos may be added to a page by either placing them in your `assets/media/` media library or in your [page's folder](https://gohugo.io/content-management/page-bundles/), and then embedding them with the _video_ shortcode: + + {{}} + +## Podcast + +You can add a podcast or music to a page by placing the MP3 file in the page's folder or the media library folder and then embedding the audio on your page with the _audio_ shortcode: + + {{}} + +Try it out: + +{{< audio src="ambient-piano.mp3" >}} + +## Test students + +Provide a simple yet fun self-assessment by revealing the solutions to challenges with the `spoiler` shortcode: + +```markdown +{{}} +You found me! +{{}} +``` + +renders as + +{{< spoiler text="👉 Click to view the solution" >}} You found me 🎉 {{< /spoiler >}} + +## Math + +Hugo Blox Builder supports a Markdown extension for $\LaTeX$ math. You can enable this feature by toggling the `math` option in your `config/_default/params.yaml` file. + +To render _inline_ or _block_ math, wrap your LaTeX math with `{{}}$...${{}}` or `{{}}$$...$${{}}`, respectively. + +{{% callout note %}} +We wrap the LaTeX math in the Hugo Blox _math_ shortcode to prevent Hugo rendering our math as Markdown. +{{% /callout %}} + +Example **math block**: + +```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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2} +$$ +{{}} +``` + +renders as + +{{< math >}} +$$\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 |}{\left \|\nabla F(\mathbf{x}_{n}) - \nabla F(\mathbf{x}_{n-1}) \right \|^2}$$ +{{< /math >}} + +Example **inline math** `{{}}$\nabla F(\mathbf{x}_{n})${{}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}. + +Example **multi-line math** using the math linebreak (`\\`): + +```latex +{{}} +$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases}$$ +{{}} +``` + +renders as + +{{< math >}} + +$$ +f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\ +1-p_{0}^{*} & \text{if }k=0.\end{cases} +$$ + +{{< /math >}} + +## Code + +Hugo Blox Builder utilises Hugo's Markdown extension for highlighting code syntax. The code theme can be selected in the `config/_default/params.yaml` file. + + + ```python + import pandas as pd + data = pd.read_csv("data.csv") + data.head() + ``` + +renders as + +```python +import pandas as pd +data = pd.read_csv("data.csv") +data.head() +``` + +## Inline Images + +```go +{{}} Python +``` + +renders as + +{{< icon name="python" >}} Python + +## Did you find this page helpful? Consider sharing it 🙌 diff --git a/content/terms.md b/content/terms.md deleted file mode 100644 index 0629ea0..0000000 --- a/content/terms.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Terms -date: '2018-06-28T00:00:00+01:00' -draft: true -share: false -commentable: false -editable: false - -# Optional header image (relative to `static/media/` folder). -header: - caption: '' - image: '' ---- - -Add your terms here and set `draft: false` to publish it. Otherwise, delete this file if you don't need it. diff --git a/data/fonts/.gitkeep b/data/fonts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/data/page_sharer.toml b/data/page_sharer.toml deleted file mode 100644 index 66e2d97..0000000 --- a/data/page_sharer.toml +++ /dev/null @@ -1,82 +0,0 @@ -# Page Sharer -# Documentation: https://docs.hugoblox.com/hugo-tutorials/page-sharer/ - -[[buttons]] - id = "twitter" - url = "https://twitter.com/intent/tweet?url={url}&text={title}" - title = "Twitter" - icon_pack = "fab" - icon = "twitter" - enable = true - -[[buttons]] - id = "facebook" - url = "https://www.facebook.com/sharer.php?u={url}&t={title}" - title = "Facebook" - icon_pack = "fab" - icon = "facebook" - enable = true - -[[buttons]] - id = "email" - url = "mailto:?subject={title}&body={url}" - title = "Email" - icon_pack = "fas" - icon = "envelope" - enable = true - -[[buttons]] - id = "linkedin" - url = "https://www.linkedin.com/shareArticle?url={url}&title={title}" - title = "LinkedIn" - icon_pack = "fab" - icon = "linkedin-in" - enable = true - -[[buttons]] - id = "whatsapp" - url = "whatsapp://send?text={title}%20{url}" - title = "WhatsApp" - icon_pack = "fab" - icon = "whatsapp" - enable = true - -[[buttons]] - id = "weibo" - url = "https://service.weibo.com/share/share.php?url={url}&title={title}" - title = "Weibo" - icon_pack = "fab" - icon = "weibo" - enable = true - -[[buttons]] - id = "reddit" - url = "https://reddit.com/submit?url={url}&title={title}" - title = "Reddit" - icon_pack = "fab" - icon = "reddit-alien" - enable = false - -[[buttons]] - id = "pinterest" - url = "https://pinterest.com/pin/create/link/?url={url}&description={title}" - title = "Pinterest" - icon_pack = "fab" - icon = "pinterest" - enable = false - -[[buttons]] - id = "xing" - url = "https://www.xing.com/spi/shares/new?url={url}&title={title}" - title = "Xing" - icon_pack = "fab" - icon = "xing" - enable = false - -[[buttons]] - id = "tumblr" - url = "https://www.tumblr.com/widgets/share/tool?canonicalUrl={url}&title={title}" - title = "Tumblr" - icon_pack = "fab" - icon = "tumblr" - enable = false diff --git a/data/themes/.gitkeep b/data/themes/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/go.mod b/go.mod index eaadada..773f91c 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,8 @@ -module github.com/HugoBlox/theme-academic-cv +module github.com/HugoBlox/hugo-blox-builder/starters/academic-cv -go 1.15 +go 1.22 require ( - github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7 - github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108141515-0478cf6921f9 - github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal v1.1.2 + github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b + github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519153246-928399f2cde9 ) diff --git a/hugoblox.yaml b/hugoblox.yaml new file mode 100644 index 0000000..08ebd7c --- /dev/null +++ b/hugoblox.yaml @@ -0,0 +1,2 @@ +build: + hugo_version: '0.126.1' diff --git a/images/screenshot.png b/images/screenshot.png deleted file mode 100644 index 2b545d8..0000000 Binary files a/images/screenshot.png and /dev/null differ diff --git a/images/tn.png b/images/tn.png deleted file mode 100644 index f4aa8e7..0000000 Binary files a/images/tn.png and /dev/null differ diff --git a/layouts/partials/hooks/head-end/github-button.html b/layouts/partials/hooks/head-end/github-button.html new file mode 100644 index 0000000..668938f --- /dev/null +++ b/layouts/partials/hooks/head-end/github-button.html @@ -0,0 +1 @@ + diff --git a/netlify.toml b/netlify.toml index 4c813fa..c752987 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,19 +1,19 @@ [build] - command = "hugo --gc --minify -b $URL" + command = "hugo --gc --minify -b $URL && npx pagefind --source 'public'" publish = "public" [build.environment] - HUGO_VERSION = "0.123.3" + HUGO_VERSION = "0.126.1" HUGO_ENABLEGITINFO = "true" [context.production.environment] HUGO_ENV = "production" [context.deploy-preview] - command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL" + command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'" [context.branch-deploy] - command = "hugo --gc --minify -b $DEPLOY_PRIME_URL" + command = "hugo --gc --minify -b $DEPLOY_PRIME_URL && npx pagefind --source 'public'" [[plugins]] package = "netlify-plugin-hugo-cache-resources" diff --git a/preview.png b/preview.png deleted file mode 100644 index 9a73a17..0000000 Binary files a/preview.png and /dev/null differ diff --git a/theme.toml b/theme.toml deleted file mode 100644 index 3c9b0e4..0000000 --- a/theme.toml +++ /dev/null @@ -1,49 +0,0 @@ -name = "Academic" -license = "MIT" -licenselink = "https://github.com/HugoBlox/theme-academic-cv/blob/main/LICENSE.md" -description = "Use the no-code website framework to easily build your site. Choose from 50+ widgets and deploy with one click! Fully personalize your site with themes, plugins, and language packs." -homepage = "https://github.com/HugoBlox/theme-academic-cv" -demosite = "https://hugoblox.com/templates/" -tags = ["widgets", - "resume", - "portfolio", - "responsive", - "clean", - "personal", - "company", - "blog", - "minimal", - "light", - "dark", - "multilingual", - "documentation", - "landing page", - "projects", - "single page", - "contact form", - "mobile", - "gallery", - "search", - "presentation", - "simple", - "minimalist", - "starter", - "modern", - "one page", - "customizable", - "technical", - "product", - "slide" - ] -features = ["page builder", "widgets", "themes", "search", "research publication system", "filterable portfolio", - "blog", "create courses", "talks", "events", "slides", "gallery", "contact form"] - -[author] - name = "George Cushen" - homepage = "https://georgecushen.com" - -# If porting an existing theme -[original] - name = "" - homepage = "" - repo = ""