shawnohare / hugo-tufte Goto Github PK
View Code? Open in Web Editor NEWContent centric Hugo blogging theme styled with Tufte-css
License: MIT License
Content centric Hugo blogging theme styled with Tufte-css
License: MIT License
Right now I fixed :
MathJax have been replaced by Katex (because it's wayyyy faster. Benchmark here).
It is not production ready yet but it will be soon.
here is the link : https://github.com/slashformotion/hugo-tufte
Your Tufte-css link is incorrect (missing a . between github and com): https://githubcom/edwardtufte/tufte-css
When trying to build a site with this theme under hugo version v0.30.2 darwin/amd64 it throws the following error.
Page's Now is deprecated and will be removed in Hugo 0.31. Use now (the template func).
The function .Now
was deprecated in hugo version 0.21 and removed in version 0.25
This code:
{{< highlight go >}}
package main
import "log"
func add(x int, y int) int {
log.Println("We are going to take the sum of two numbers, and leave a long comment.")
return x + y
}
func main() {
y := add(1, 2)
log.Println(y)
}
{{< /highlight >}}
produced following output:
https://i.imgur.com/VNdmBx1.png
which spills the code section in the margins. Also, backticks for code doesn't work without {{< highlight go >}} section in the example site.
In the example post, there is a bit of math placed inside the epigraph, however, it does not render. I believe it is supposed to, thus this is a bug.
Some basic theorem environment styling should be added to the hugo-tufte.css
file.
Currently there is a deprecated attribute used, this will likely be a breaking change as hugo
progresses.
One thing: when I click on the "categories" tab, I see the two tables,
of entries by Frequency and alphabetically. However, if I click on a
term, e.g. mathjax, I get sent to
http://localhost:1313/categories/categories/mathjax which makes a 404.
hi,
Great idea to put a Tufte style into Hugo. Have you got something that others can use yet? I'm interested to see how it might compare to other themes. Best wishes, Stephen
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.