-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starters(blog): add content & upgrade
- Loading branch information
Splitter
committed
Oct 27, 2023
1 parent
bd3e20c
commit ba7bc96
Showing
17 changed files
with
602 additions
and
37 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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-25 | ||
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 `{{</* chart data="line-chart" */>}}` shortcode where you would like the chart to appear. | ||
|
||
Demo: | ||
|
||
{{< chart data="line-chart" >}} | ||
|
||
You might also find the [Plotly JSON Editor](http://plotly-json-editor.getforge.io/) useful. | ||
|
||
## 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 **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 | ||
{{</* table path="results.csv" header="true" caption="Table 1: My results" */>}} | ||
``` | ||
|
||
renders as | ||
|
||
{{< table path="results.csv" header="true" caption="Table 1: My results" >}} | ||
|
||
## Did you find this page helpful? Consider sharing it 🙌 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"uid": "babced", | ||
"fill": "tonexty", | ||
"mode": "none", | ||
"name": "Col2", | ||
"type": "scatter", | ||
"x": [ | ||
"2000-01-01", | ||
"2001-01-01", | ||
"2002-01-01", | ||
"2003-01-01", | ||
"2004-01-01", | ||
"2005-01-01", | ||
"2006-01-01", | ||
"2007-01-01", | ||
"2008-01-01", | ||
"2009-01-01", | ||
"2010-01-01", | ||
"2011-01-01", | ||
"2012-01-01", | ||
"2013-01-01", | ||
"2014-01-01", | ||
"2015-01-01", | ||
"2016-01-01" | ||
], | ||
"y": [ | ||
"17087182", | ||
"29354370", | ||
"38760373", | ||
"40912332", | ||
"51611646", | ||
"64780617", | ||
"85507314", | ||
"121892559", | ||
"172338726", | ||
"238027855", | ||
"206956723", | ||
"346004403", | ||
"697089489", | ||
"672985183", | ||
"968882453", | ||
"863105652", | ||
"1068513050" | ||
], | ||
"fillcolor": "rgb(224, 102, 102)" | ||
} | ||
], | ||
"layout": { | ||
"title": "Total Number of Websites", | ||
"width": 800, | ||
"xaxis": { | ||
"type": "date", | ||
"range": [946702800000, 1451624400000], | ||
"title": "Source: <a href=\"http://www.scribblrs.com/\">Scribblrs</a><br>Source: <a href=\"http://www.internetlivestats.com/total-number-of-websites/\">Internet Live Stats</a>", | ||
"showgrid": false, | ||
"autorange": true, | ||
"tickformat": "%Y" | ||
}, | ||
"yaxis": { | ||
"type": "linear", | ||
"range": [0, 1124750578.9473684], | ||
"title": "", | ||
"autorange": true | ||
}, | ||
"height": 500, | ||
"autosize": false | ||
}, | ||
"frames": [] | ||
} |
File renamed without changes.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
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)' | ||
|
||
authors: | ||
- admin | ||
|
||
tags: | ||
- Academic | ||
- Wowchemy | ||
- Markdown | ||
--- | ||
|
||
Welcome 👋 | ||
|
||
## 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 | ||
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 | ||
|
||
[![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://wowchemy.com) | ||
|
||
## Get Started | ||
|
||
- 👉 [**Create a new site**](https://wowchemy.com/templates/) | ||
- 📚 [**Personalize your site**](https://university.wowchemy.com/) | ||
- 💬 [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/wowchemy/wowchemy-hugo-themes/issues) | ||
- ⬆️ **Updating Wowchemy?** View the [Update Guide](https://university.wowchemy.com/reference/update/) and [Release Notes](https://github.com/wowchemy/wowchemy-hugo-themes/releases) | ||
|
||
## Crowd-funded open-source software | ||
|
||
To help us develop this template and software sustainably under the MIT license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship. | ||
|
||
### [❤️ Click here to become a sponsor and help support Wowchemy's future ❤️](https://wowchemy.com/sponsor/) | ||
|
||
As a token of appreciation for sponsoring, you can **unlock [these](https://wowchemy.com/sponsor/) awesome rewards and extra features 🦄✨** | ||
|
||
## Ecosystem | ||
|
||
- **[Bibtex To Markdown](https://github.com/wowchemy/bibtex-to-markdown):** Automatically import publications from BibTeX | ||
|
||
## Inspiration | ||
|
||
[Learn what other **creators**](https://wowchemy.com/creators/) are building with this template. | ||
|
||
## Features | ||
|
||
- **Page builder** - Create _anything_ with no-code [**blocks**](https://wowchemy.com/blocks/) and [**elements**](https://university.wowchemy.com/reference/markdown/) | ||
- **Edit any type of content** - Blog posts, publications, talks, slides, projects, and more! | ||
- **Create content** in [**Markdown**](https://university.wowchemy.com/reference/markdown/), [**Jupyter**](https://university.wowchemy.com/getting-started/cms/), or [**RStudio**](https://university.wowchemy.com/getting-started/cms/) | ||
- **Plugin System** - Fully customizable [**color** and **font themes**](https://university.wowchemy.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 | ||
- **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** - 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 | ||
- **One-Click Deployment** - No servers. No databases. Only files. | ||
|
||
## 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. | ||
|
||
[Choose a stunning **theme** and **font**](https://university.wowchemy.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/wowchemy/wowchemy-hugo-themes/blob/main/LICENSE.md) license. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.