mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-01-09 04:05:16 +01:00
Compare commits
4 commits
2b11b7e9fb
...
676a1b20ee
Author | SHA1 | Date | |
---|---|---|---|
|
676a1b20ee | ||
|
492e343c2a | ||
|
f726390527 | ||
|
f78044d2b4 |
39 changed files with 134 additions and 115 deletions
|
@ -53,18 +53,18 @@
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.ul-edu {*/
|
/* .ul-edu { */
|
||||||
/* list-style: none;*/
|
/* list-style: none; */
|
||||||
/* }*/
|
/* } */
|
||||||
|
|
||||||
/* .ul-edu li {*/
|
/* .ul-edu li { */
|
||||||
/* position: relative;*/
|
/* position: relative; */
|
||||||
/* padding: 0 15px 4px 3px;*/
|
/* padding: 0 15px 4px 3px; */
|
||||||
/* }*/
|
/* } */
|
||||||
|
|
||||||
/* .ul-edu li .description p {*/
|
/* .ul-edu li .description p { */
|
||||||
/* margin: 0;*/
|
/* margin: 0; */
|
||||||
/* }*/
|
/* } */
|
||||||
|
|
||||||
.ul-edu li .description p.course {
|
.ul-edu li .description p.course {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
|
@ -80,15 +80,15 @@
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .portrait-title h3 {
|
/* .dark .portrait-title h3 { */
|
||||||
color: rgb(255 255 255 / 90%);
|
/* color: rgb(255 255 255 / 90%); */
|
||||||
font-weight: bold;
|
/* font-weight: bold; */
|
||||||
}
|
/* } */
|
||||||
|
|
||||||
.dark .portrait-title h2 {
|
/* .dark .portrait-title h2 { */
|
||||||
color: #fff;
|
/* color: #fff; */
|
||||||
font-weight: bold;
|
/* font-weight: bold; */
|
||||||
}
|
/* } */
|
||||||
|
|
||||||
.bio-text {
|
.bio-text {
|
||||||
max-width: 680px;
|
max-width: 680px;
|
||||||
|
|
|
@ -25,8 +25,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.hb-card svg {
|
.hb-card svg {
|
||||||
width: 1.5rem;
|
|
||||||
@apply text-neutral-700;
|
@apply text-neutral-700;
|
||||||
|
|
||||||
|
width: 1.5rem;
|
||||||
transition: color 0.3s ease;
|
transition: color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
@media (max-width: 1024px) {
|
@media (max-width: 1024px) {
|
||||||
.hb-sidebar-container {
|
.hb-sidebar-container {
|
||||||
@apply fixed top-0 w-full bottom-0 z-[15] pt-[calc(var(--navbar-height))] overscroll-contain;
|
@apply fixed top-0 w-full bottom-0 z-[15] pt-[calc(var(--navbar-height))] overscroll-contain;
|
||||||
|
|
||||||
contain: layout style;
|
contain: layout style;
|
||||||
transition: transform 0.8s cubic-bezier(0.52, 0.16, 0.04, 1);
|
transition: transform 0.8s cubic-bezier(0.52, 0.16, 0.04, 1);
|
||||||
will-change: transform, opacity;
|
will-change: transform, opacity;
|
||||||
|
@ -15,9 +16,11 @@
|
||||||
li > div {
|
li > div {
|
||||||
@apply h-0;
|
@apply h-0;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.open > div {
|
li.open > div {
|
||||||
@apply h-auto pt-1;
|
@apply h-auto pt-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
li.open > a > span > svg > path {
|
li.open > a > span > svg > path {
|
||||||
@apply rotate-90;
|
@apply rotate-90;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
@apply bg-gray-100 dark:bg-hb-dark;
|
@apply bg-gray-100 dark:bg-hb-dark;
|
||||||
@apply text-neutral-700 dark:text-neutral-200 text-base font-normal text-center -indent-px;
|
@apply text-neutral-700 dark:text-neutral-200 text-base font-normal text-center -indent-px;
|
||||||
@apply mt-[3px] ml-[-41px];
|
@apply mt-[3px] ml-[-41px];
|
||||||
|
|
||||||
content: counter(hb-step);
|
content: counter(hb-step);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
modules/blox-tailwind/assets/dist/wc.min.css
vendored
2
modules/blox-tailwind/assets/dist/wc.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -35,7 +35,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div id="profile" class="resume-biography flex justify-center items-center flex-col">
|
<div id="profile" class="resume-biography flex justify-center items-center flex-col dark:text-white">
|
||||||
{{ if $avatar }}
|
{{ if $avatar }}
|
||||||
|
|
||||||
<div class="avatar-wrapper {{ if $img }}-mt-[105px]{{else}}mt-10{{end}}">
|
<div class="avatar-wrapper {{ if $img }}-mt-[105px]{{else}}mt-10{{end}}">
|
||||||
|
@ -46,30 +46,27 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="portrait-title dark:text-white">
|
<div class="text-3xl font-bold mb-2 mt-6">
|
||||||
|
{{- if $person.name_pronunciation -}}
|
||||||
<div class="text-3xl font-bold mb-2 mt-6">
|
<ruby>
|
||||||
{{- if $person.name_pronunciation -}}
|
<rb>{{ $person_page.Title }}</rb>
|
||||||
<ruby>
|
<rt>{{ $person.name_pronunciation }}</rt>
|
||||||
<rb>{{ $person_page.Title }}</rb>
|
</ruby>
|
||||||
<rt>{{ $person.name_pronunciation }}</rt>
|
{{- else -}}
|
||||||
</ruby>
|
{{- $person_page.Title -}}
|
||||||
{{- else -}}
|
{{- end -}}
|
||||||
{{- $person_page.Title -}}
|
|
||||||
{{- end -}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ with $person.role }}<h3 class="font-semibold mb-1">{{ . | markdownify | emojify }}</h3>{{ end }}
|
|
||||||
|
|
||||||
{{ range $person.organizations }}
|
|
||||||
<div class="mb-2">
|
|
||||||
{{ with .url }}<a href="{{ . }}" target="_blank" rel="noopener">{{ end }}
|
|
||||||
<div>{{ .name }}</div>
|
|
||||||
{{ if .url }}</a>{{ end }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ with $person.role }}<h3 class="font-semibold mb-1">{{ . | markdownify | emojify }}</h3>{{ end }}
|
||||||
|
|
||||||
|
{{ range $person.organizations }}
|
||||||
|
<div class="mb-2">
|
||||||
|
{{ with .url }}<a href="{{ . }}" target="_blank" rel="noopener">{{ end }}
|
||||||
|
<div>{{ .name }}</div>
|
||||||
|
{{ if .url }}</a>{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<ul class="network-icon dark:text-zinc-100">
|
<ul class="network-icon dark:text-zinc-100">
|
||||||
{{ range $person.profiles }}
|
{{ range $person.profiles }}
|
||||||
{{ $pack := or .icon_pack "fas" }}
|
{{ $pack := or .icon_pack "fas" }}
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
{{ $pf_js = $pf_js | resources.Fingerprint "sha256" }}
|
{{ $pf_js = $pf_js | resources.Fingerprint "sha256" }}
|
||||||
<script src="{{ $pf_js.RelPermalink }}" integrity="{{ $pf_js.Data.Integrity }}"></script>
|
<script src="{{ $pf_js.RelPermalink }}" integrity="{{ $pf_js.Data.Integrity }}"></script>
|
||||||
|
|
||||||
|
{{ $search_config := dict "baseUrl" (relURL "") }}
|
||||||
|
{{ printf "<script>window.hbb.pagefind = %s;</script>" ($search_config | jsonify) | safeHTML }}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
html.dark {
|
html.dark {
|
||||||
--pagefind-ui-primary: #eeeeee;
|
--pagefind-ui-primary: #eeeeee;
|
||||||
|
@ -27,7 +30,12 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
window.addEventListener('DOMContentLoaded', (event) => {
|
window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
new PagefindUI({ element: "#search", showSubResults: true });
|
new PagefindUI({
|
||||||
|
element: "#search",
|
||||||
|
showSubResults: true,
|
||||||
|
baseUrl: window.hbb.pagefind.baseUrl,
|
||||||
|
bundlePath: window.hbb.pagefind.baseUrl + "pagefind/",
|
||||||
|
});
|
||||||
});
|
});
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
let element = document.getElementById('search');
|
let element = document.getElementById('search');
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -1,22 +1,24 @@
|
||||||
---
|
---
|
||||||
title: 📈 Communicate your results effectively with the best data visualizations
|
title: 📈 Communicate your results effectively with the best data visualizations
|
||||||
summary: Use popular tools such as Plotly, Mermaid, and data frames.
|
summary: Use popular tools such as Plotly, Mermaid, and data frames.
|
||||||
date: 2023-10-26
|
date: 2023-10-25
|
||||||
|
authors:
|
||||||
|
- admin
|
||||||
tags:
|
tags:
|
||||||
- Hugo
|
- Hugo
|
||||||
- Wowchemy
|
- Hugo Blox
|
||||||
- Markdown
|
- Markdown
|
||||||
image:
|
image:
|
||||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com)'
|
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.
|
Hugo Blox is designed to give technical content creators a seamless experience. You can focus on the content and Hugo Blox handles the rest.
|
||||||
|
|
||||||
Use popular tools such as Plotly, Mermaid, and data frames.
|
Use popular tools such as Plotly, Mermaid, and data frames.
|
||||||
|
|
||||||
## Charts
|
## 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!
|
Hugo Blox 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 `{{</* chart data="line-chart" */>}}` shortcode where you would like the chart to appear.
|
Save your Plotly JSON in your page folder, for example `line-chart.json`, and then add the `{{</* chart data="line-chart" */>}}` shortcode where you would like the chart to appear.
|
||||||
|
|
||||||
|
@ -28,7 +30,7 @@ You might also find the [Plotly JSON Editor](http://plotly-json-editor.getforge.
|
||||||
|
|
||||||
## Diagrams
|
## Diagrams
|
||||||
|
|
||||||
Wowchemy supports the _Mermaid_ Markdown extension for diagrams.
|
Hugo Blox supports the _Mermaid_ Markdown extension for diagrams.
|
||||||
|
|
||||||
An example **flowchart**:
|
An example **flowchart**:
|
||||||
|
|
||||||
|
|
|
@ -10,37 +10,40 @@ image:
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- admin
|
- admin
|
||||||
|
- Ted
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
- Academic
|
- Academic
|
||||||
- Wowchemy
|
- Hugo Blox
|
||||||
- Markdown
|
- Markdown
|
||||||
---
|
---
|
||||||
|
|
||||||
Welcome 👋
|
Welcome 👋
|
||||||
|
|
||||||
|
{{< toc mobile_only=true is_open=true >}}
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
1. The Wowchemy website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
1. The Hugo Blox website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
||||||
2. The template can be modified and customised to suit your needs. It's a good platform for anyone looking to take control of their data and online identity whilst having the convenience to start off with a **no-code solution (write in Markdown and customize with YAML parameters)** and having **flexibility to later add even deeper personalization with HTML and CSS**
|
2. The template can be modified and customised to suit your needs. It's a good platform for anyone looking to take control of their data and online identity whilst having the convenience to start off with a **no-code solution (write in Markdown and customize with YAML parameters)** and having **flexibility to later add even deeper personalization with HTML and CSS**
|
||||||
3. You can work with all your favourite tools and apps with hundreds of plugins and integrations to speed up your workflows, interact with your readers, and much more
|
3. You can work with all your favourite tools and apps with hundreds of plugins and integrations to speed up your workflows, interact with your readers, and much more
|
||||||
|
|
||||||
[![The template is mobile first with a responsive design to ensure that your site looks stunning on every device.](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/main/starters/academic/preview.png)](https://hugoblox.com)
|
[//]: # ([![The template is mobile first with a responsive design to ensure that your site looks stunning on every device.](https://raw.githubusercontent.com/wowchemy/wowchemy-hugo-modules/main/starters/academic/preview.png)](https://hugoblox.com))
|
||||||
|
|
||||||
## Get Started
|
### Get Started
|
||||||
|
|
||||||
- 👉 [**Create a new site**](https://hugoblox.com/templates/)
|
- 👉 [**Create a new site**](https://hugoblox.com/templates/)
|
||||||
- 📚 [**Personalize your site**](https://docs.hugoblox.com/)
|
- 📚 [**Personalize your site**](https://docs.hugoblox.com/)
|
||||||
- 💬 [Chat with the **Wowchemy community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
|
- 💬 [Chat with the **Hugo Blox 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)
|
- 🐦 Twitter: [@GetResearchDev](https://twitter.com/GetResearchDev) [@GeorgeCushen](https://twitter.com/GeorgeCushen) #MadeWithHugoBlox
|
||||||
- 💡 [Request a **feature** or report a **bug** for _Wowchemy_](https://github.com/HugoBlox/hugo-blox-builder/issues)
|
- 💡 [Request a **feature** or report a **bug** for _Hugo Blox_](https://github.com/HugoBlox/hugo-blox-builder/issues)
|
||||||
- ⬆️ **Updating Wowchemy?** View the [Update Guide](https://docs.hugoblox.com/reference/update/) and [Release Notes](https://github.com/HugoBlox/hugo-blox-builder/releases)
|
- ⬆️ **Updating Hugo Blox?** 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
|
## Crowd-funded open-source software
|
||||||
|
|
||||||
To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.
|
To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship.
|
||||||
|
|
||||||
### [❤️ Click here to become a sponsor and help support Wowchemy's future ❤️](https://hugoblox.com/sponsor/)
|
### [❤️ Click here to become a sponsor and help support Hugo Blox's future ❤️](https://hugoblox.com/sponsor/)
|
||||||
|
|
||||||
As a token of appreciation for sponsoring, you can **unlock [these](https://hugoblox.com/sponsor/) awesome rewards and extra features 🦄✨**
|
As a token of appreciation for sponsoring, you can **unlock [these](https://hugoblox.com/sponsor/) awesome rewards and extra features 🦄✨**
|
||||||
|
|
||||||
|
@ -72,7 +75,7 @@ As a token of appreciation for sponsoring, you can **unlock [these](https://hugo
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
|
||||||
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.
|
Hugo Blox 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/getting-started/customize/) 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.
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
title: ✅ Manage your projects
|
title: ✅ Manage your projects
|
||||||
summary: Easily manage your projects - create ideation mind maps, Gantt charts, todo lists, and more!
|
summary: Easily manage your projects - create ideation mind maps, Gantt charts, todo lists, and more!
|
||||||
date: 2023-10-23
|
date: 2023-10-23
|
||||||
|
authors:
|
||||||
|
- admin
|
||||||
tags:
|
tags:
|
||||||
- Wowchemy
|
- Hugo Blox
|
||||||
- Markdown
|
- Markdown
|
||||||
image:
|
image:
|
||||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com)'
|
caption: 'Image credit: [**Unsplash**](https://unsplash.com)'
|
||||||
|
@ -13,7 +15,7 @@ Easily manage your projects - create ideation mind maps, Gantt charts, todo list
|
||||||
|
|
||||||
## Ideation
|
## Ideation
|
||||||
|
|
||||||
Wowchemy supports a Markdown extension for mindmaps.
|
Hugo Blox 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.
|
Simply insert a Markdown code block labelled as `markmap` and optionally set the height of the mindmap as shown in the example below.
|
||||||
|
|
||||||
|
@ -24,7 +26,7 @@ Mindmaps can be created by simply writing the items as a Markdown list within th
|
||||||
<code>
|
<code>
|
||||||
```markmap {height="200px"}
|
```markmap {height="200px"}
|
||||||
- Hugo Modules
|
- Hugo Modules
|
||||||
- wowchemy
|
- Hugo Blox
|
||||||
- blox-plugins-netlify
|
- blox-plugins-netlify
|
||||||
- blox-plugins-netlify-cms
|
- blox-plugins-netlify-cms
|
||||||
- blox-plugins-reveal
|
- blox-plugins-reveal
|
||||||
|
@ -37,7 +39,7 @@ renders as
|
||||||
|
|
||||||
```markmap {height="200px"}
|
```markmap {height="200px"}
|
||||||
- Hugo Modules
|
- Hugo Modules
|
||||||
- wowchemy
|
- Hugo Blox
|
||||||
- blox-plugins-netlify
|
- blox-plugins-netlify
|
||||||
- blox-plugins-netlify-cms
|
- blox-plugins-netlify-cms
|
||||||
- blox-plugins-reveal
|
- blox-plugins-reveal
|
||||||
|
@ -45,7 +47,7 @@ renders as
|
||||||
|
|
||||||
## Diagrams
|
## Diagrams
|
||||||
|
|
||||||
Wowchemy supports the _Mermaid_ Markdown extension for diagrams.
|
Hugo Blox supports the _Mermaid_ Markdown extension for diagrams.
|
||||||
|
|
||||||
An example **Gantt diagram**:
|
An example **Gantt diagram**:
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
title: 🧠 Sharpen your thinking with a second brain
|
title: 🧠 Sharpen your thinking with a second brain
|
||||||
summary: Create a personal knowledge base and share your knowledge with your peers.
|
summary: Create a personal knowledge base and share your knowledge with your peers.
|
||||||
date: 2023-10-26
|
date: 2023-10-26
|
||||||
|
authors:
|
||||||
|
- admin
|
||||||
tags:
|
tags:
|
||||||
- Second Brain
|
- Second Brain
|
||||||
- Markdown
|
- Markdown
|
||||||
|
@ -11,7 +13,7 @@ image:
|
||||||
|
|
||||||
Create a personal knowledge base and share your knowledge with your peers.
|
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.
|
Hugo Blox 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.
|
Create a powerful knowledge base that works on top of a local folder of plain text Markdown files.
|
||||||
|
|
||||||
|
@ -19,7 +21,7 @@ Use it as your second brain, either publicly sharing your knowledge with your pe
|
||||||
|
|
||||||
## Mindmaps
|
## Mindmaps
|
||||||
|
|
||||||
Wowchemy supports a Markdown extension for mindmaps.
|
Hugo Blox supports a Markdown extension for mindmaps.
|
||||||
|
|
||||||
With this open format, can even edit your mindmaps in other popular tools such as Obsidian.
|
With this open format, can even edit your mindmaps in other popular tools such as Obsidian.
|
||||||
|
|
||||||
|
@ -32,7 +34,7 @@ Mindmaps can be created by simply writing the items as a Markdown list within th
|
||||||
<code>
|
<code>
|
||||||
```markmap {height="200px"}
|
```markmap {height="200px"}
|
||||||
- Hugo Modules
|
- Hugo Modules
|
||||||
- wowchemy
|
- Hugo Blox
|
||||||
- blox-plugins-netlify
|
- blox-plugins-netlify
|
||||||
- blox-plugins-netlify-cms
|
- blox-plugins-netlify-cms
|
||||||
- blox-plugins-reveal
|
- blox-plugins-reveal
|
||||||
|
@ -45,7 +47,7 @@ renders as
|
||||||
|
|
||||||
```markmap {height="200px"}
|
```markmap {height="200px"}
|
||||||
- Hugo Modules
|
- Hugo Modules
|
||||||
- wowchemy
|
- Hugo Blox
|
||||||
- blox-plugins-netlify
|
- blox-plugins-netlify
|
||||||
- blox-plugins-netlify-cms
|
- blox-plugins-netlify-cms
|
||||||
- blox-plugins-reveal
|
- blox-plugins-reveal
|
||||||
|
@ -59,7 +61,7 @@ Anh here's a more advanced mindmap with formatting, code blocks, and math:
|
||||||
```markmap
|
```markmap
|
||||||
- Mindmaps
|
- Mindmaps
|
||||||
- Links
|
- Links
|
||||||
- [Wowchemy Docs](https://docs.hugoblox.com/)
|
- [Hugo Blox Docs](https://docs.hugoblox.com/)
|
||||||
- [Discord Community](https://discord.gg/z8wNYzb)
|
- [Discord Community](https://discord.gg/z8wNYzb)
|
||||||
- [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
|
- [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
|
||||||
- Features
|
- Features
|
||||||
|
@ -84,7 +86,7 @@ renders as
|
||||||
```markmap
|
```markmap
|
||||||
- Mindmaps
|
- Mindmaps
|
||||||
- Links
|
- Links
|
||||||
- [Wowchemy Docs](https://docs.hugoblox.com/)
|
- [Hugo Blox Docs](https://docs.hugoblox.com/)
|
||||||
- [Discord Community](https://discord.gg/z8wNYzb)
|
- [Discord Community](https://discord.gg/z8wNYzb)
|
||||||
- [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
|
- [GitHub](https://github.com/HugoBlox/hugo-blox-builder)
|
||||||
- Features
|
- Features
|
||||||
|
|
|
@ -3,6 +3,8 @@ title: 👩🏼🏫 Teach academic courses
|
||||||
summary: Embed videos, podcasts, code, LaTeX math, and even test students!
|
summary: Embed videos, podcasts, code, LaTeX math, and even test students!
|
||||||
date: 2023-10-24
|
date: 2023-10-24
|
||||||
math: true
|
math: true
|
||||||
|
authors:
|
||||||
|
- admin
|
||||||
tags:
|
tags:
|
||||||
- Hugo
|
- Hugo
|
||||||
- Hugo Blox Builder
|
- Hugo Blox Builder
|
||||||
|
@ -21,15 +23,17 @@ On this page, you'll find some examples of the types of technical content that c
|
||||||
|
|
||||||
Teach your course by sharing videos with your students. Choose from one of the following approaches:
|
Teach your course by sharing videos with your students. Choose from one of the following approaches:
|
||||||
|
|
||||||
{{< youtube D2vj0WcvH5c >}}
|
|
||||||
|
|
||||||
**Youtube**:
|
**Youtube**:
|
||||||
|
|
||||||
{{</* youtube w7Ft2ymGmfc */>}}
|
{{</* youtube D2vj0WcvH5c */>}}
|
||||||
|
|
||||||
|
{{< youtube D2vj0WcvH5c >}}
|
||||||
|
|
||||||
**Bilibili**:
|
**Bilibili**:
|
||||||
|
|
||||||
{{</* bilibili id="BV1WV4y1r7DF" */>}}
|
{{</* bilibili BV1WV4y1r7DF */>}}
|
||||||
|
|
||||||
|
{{< bilibili BV1WV4y1r7DF >}}
|
||||||
|
|
||||||
**Video file**
|
**Video file**
|
||||||
|
|
||||||
|
@ -63,52 +67,44 @@ renders as
|
||||||
|
|
||||||
## Math
|
## 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.
|
Hugo Blox Builder supports a Markdown extension for $\LaTeX$ math. Enable math by setting the `math: true` option in your page's front matter, or enable math for your entire site by toggling math in your `config/_default/params.yaml` file:
|
||||||
|
|
||||||
To render _inline_ or _block_ math, wrap your LaTeX math with `{{</* math */>}}$...${{</* /math */>}}` or `{{</* math */>}}$$...$${{</* /math */>}}`, respectively.
|
```yaml
|
||||||
|
features:
|
||||||
|
math:
|
||||||
|
enable: true
|
||||||
|
```
|
||||||
|
|
||||||
{{% callout note %}}
|
To render _inline_ or _block_ math, wrap your LaTeX math with `$...$` or `$$...$$`, respectively.
|
||||||
We wrap the LaTeX math in the Hugo Blox _math_ shortcode to prevent Hugo rendering our math as Markdown.
|
|
||||||
{{% /callout %}}
|
|
||||||
|
|
||||||
Example **math block**:
|
Example **math block**:
|
||||||
|
|
||||||
```latex
|
```latex
|
||||||
{{</* 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}
|
\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 */>}}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
renders as
|
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}$$
|
$$\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** `{{</* math */>}}$\nabla F(\mathbf{x}_{n})${{</* /math */>}}` renders as {{< math >}}$\nabla F(\mathbf{x}_{n})${{< /math >}}.
|
Example **inline math** `$\nabla F(\mathbf{x}_{n})$` renders as $\nabla F(\mathbf{x}_{n})$.
|
||||||
|
|
||||||
Example **multi-line math** using the math linebreak (`\\`):
|
Example **multi-line math** using the math linebreak (`\\`):
|
||||||
|
|
||||||
```latex
|
```latex
|
||||||
{{</* math */>}}
|
|
||||||
$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\
|
$$f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\
|
||||||
1-p_{0}^{*} & \text{if }k=0.\end{cases}$$
|
1-p_{0}^{*} & \text{if }k=0.\end{cases}$$
|
||||||
{{</* /math */>}}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
renders as
|
renders as
|
||||||
|
|
||||||
{{< math >}}
|
|
||||||
|
|
||||||
$$
|
$$
|
||||||
f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\
|
f(k;p_{0}^{*}) = \begin{cases}p_{0}^{*} & \text{if }k=1, \\
|
||||||
1-p_{0}^{*} & \text{if }k=0.\end{cases}
|
1-p_{0}^{*} & \text{if }k=0.\end{cases}
|
||||||
$$
|
$$
|
||||||
|
|
||||||
{{< /math >}}
|
|
||||||
|
|
||||||
## Code
|
## 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.
|
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.
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231209203044-d31adfedd40b
|
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.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
2
starters/blog/.github/workflows/publish.yaml
vendored
2
starters/blog/.github/workflows/publish.yaml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -20,6 +20,8 @@ tags:
|
||||||
|
|
||||||
Welcome 👋
|
Welcome 👋
|
||||||
|
|
||||||
|
{{< toc mobile_only=true is_open=true >}}
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
1. The Hugo Blox website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
1. The Hugo Blox website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125204555-f431a4a2c705
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125204555-f431a4a2c705
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
GO_VERSION = "1.21.5"
|
GO_VERSION = "1.21.5"
|
||||||
NODE_VERSION = "21.1.0"
|
NODE_VERSION = "21.1.0"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -20,6 +20,8 @@ tags:
|
||||||
|
|
||||||
Welcome 👋
|
Welcome 👋
|
||||||
|
|
||||||
|
{{< toc mobile_only=true is_open=true >}}
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
1. The Hugo Blox website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
1. The Hugo Blox website builder for Hugo, along with its starter templates, is designed for professional creators, educators, and teams/organizations - although it can be used to create any kind of site
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -10,7 +10,7 @@ design:
|
||||||
filename: bg-hue.svg
|
filename: bg-hue.svg
|
||||||
|
|
||||||
sections:
|
sections:
|
||||||
- block: biography
|
- block: resume-biography
|
||||||
content:
|
content:
|
||||||
# The user's folder name in content/authors/
|
# The user's folder name in content/authors/
|
||||||
username: admin
|
username: admin
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.126.1'
|
WC_HUGO_VERSION: '0.126.3'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125200520-804c70f7efb8
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125200520-804c70f7efb8
|
||||||
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240519161223-50c6efcd67ff
|
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240602133901-492e343c2a33
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.126.1'
|
hugo_version: '0.126.3'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.126.1"
|
HUGO_VERSION = "0.126.3"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
Loading…
Reference in a new issue