Commit Graph

24 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen b20ab262f8 Merge commit 'd706529720b3b2ccb99719ccd578062ca25a0cc2' 2022-03-08 19:39:33 +01:00
Bjørn Erik Pedersen f1d6000444 Update theme 2022-02-28 10:42:04 +01:00
Bjørn Erik Pedersen 2df37e9e80 Add Markdown diagrams and render hooks for code blocks
You can now create custom hook templates for code blocks, either one for all (`render-codeblock.html`) or for a given code language (e.g. `render-codeblock-go.html`).

We also used this new hook to add support for diagrams in Hugo:

* Goat (Go ASCII Tool) is built-in and enabled by default; just create a fenced code block with the language `goat` and start draw your Ascii diagrams.
* Another popular alternative for diagrams in Markdown, Mermaid (supported by GitHub), can also be implemented with a simple template. See the Hugo documentation for more information.

Updates #7765
Closes #9538
Fixes #9553
Fixes #8520
Fixes #6702
Fixes #9558
2022-02-24 18:59:50 +01:00
Bjørn Erik Pedersen b94d42e6f3 Add text to social images 2021-12-11 14:51:05 +01:00
Darius Lupsa bcc4f93242 Add transparent background in rgba for search field
Safari has a bug for not showing transparent background when isn't in rgba. For unknown reasons, using commit d28cf15e1d and 'hugo server', the search field is displayed corectly, but after deployment, isn't anymore. For this reasons I've added the background-color property separately and in rgba.
2021-05-01 11:02:33 +02:00
Darius Lupsa d28cf15e1d The input search is not displayed correctly in Safari because of the one declaration CSS background property. Safari needs the no-repeat to be after position and size property. Adjusting the search icon to be vertically on center. 2021-04-30 09:16:40 +02:00
Bjørn Erik Pedersen 05f1665a04 Update theme 2021-04-09 09:16:33 +02:00
Bjørn Erik Pedersen 5de0b1c6a6 Update theme 2021-04-09 09:01:54 +02:00
Bjørn Erik Pedersen 8af3b236c0 Update theme 2021-03-01 13:50:10 +01:00
Bjørn Erik Pedersen bb234e9cda Add release notes 0.74.0 2020-07-13 20:40:43 +02:00
Bjørn Erik Pedersen c3b4f84106 Update theme 2020-07-11 13:30:35 +02:00
Daniel Santos 4f56a9fc0f width fix of expanding code box in documentation (#1156)
With some viewport widths the expansion of code sample boxes is still going over the sidebar. This fixes it.
2020-06-22 18:05:29 +07:00
Daniel Santos f27254d602 css fix of expanding code box in documentation (#1155)
The code sample box in Hugo code samples expanded on mouse over to 100vw which went over the sidebar toc. This solution solves this looking better and expanding only over the middle column.
2020-06-19 22:04:04 +07:00
Bjørn Erik Pedersen 4121da2736 Pull in latest theme version to get link hooks 2020-05-18 19:01:14 +02:00
Bjørn Erik Pedersen d5806cca55 Update theme 2020-03-27 23:57:50 +01:00
Bjørn Erik Pedersen ceab41097b Update theme
Closes https://github.com/gohugoio/gohugoioTheme/issues/142
2020-01-28 17:52:28 +01:00
Bjørn Erik Pedersen ccaed74b5c Merge branch 'temp632' 2020-01-27 14:24:21 +01:00
Bjørn Erik Pedersen 9175ac2ca7 Another theme fix 2020-01-23 21:54:00 +01:00
Bjørn Erik Pedersen 88c264251f Rebuild _vendor 2020-01-23 21:44:27 +01:00
Bjørn Erik Pedersen 6a40124d60 Update theme 2020-01-23 16:21:49 +01:00
Bjørn Erik Pedersen 5f923768a6 Merge commit 'efc0b1bb6c6564f54d596467dbc6a18cb206954e' 2019-11-11 11:46:22 +01:00
Bjørn Erik Pedersen 2ef6bdfa42 Update theme 2019-10-21 18:27:39 +02:00
Bjørn Erik Pedersen 98716176b7 Merge commit '5ac0f751aa47e52625662215f66efa99a6abfc2e' 2019-10-21 10:52:23 +02:00
Bjørn Erik Pedersen 723da4a376 Vendor the theme
To make the /docs in the source project standalone.
2019-10-21 10:51:03 +02:00