Commit graph

53 commits

Author SHA1 Message Date
loikein
6760f0cb6b mainly cosmetic changes to the code 2023-04-15 00:36:29 +01:00
loikein
a881ce922f address https://github.com/loikein/hugo-tufte/issues/2 2023-04-14 23:34:42 +01:00
loikein
e6d583a987 fix katex, 1 new shortcode, various fixes 2023-04-14 19:21:10 +01:00
loikein
89b51f17b7
Merge branch 'main' into master 2023-04-14 16:39:58 +00:00
loikein
ae230d5615 edit .gitignore; add some shortcodes 2023-04-14 17:27:20 +01:00
slashformotion
7ad7ce22fc feat: Add robots.txt 2022-02-18 10:49:20 +01:00
slashformotion
b08e62319b
Add next/prev post links in footer (#41) (#42)
Co-authored-by: AJ Livingston <aj.livingston.dev@gmail.com>
2021-11-14 20:02:14 +01:00
slashformotion
affe4f6c81
♻️ Fixing the normalize.scss issue (#39)
Removing vendor version of normalise.scss and
replacing it with cdn version
2021-11-03 21:54:46 +01:00
slashformotion
dcd87c90f2 Added favicon 2021-08-31 21:33:40 +02:00
slashformotion
472bb3d36b Remove the feather.js support
Fixes #32
2021-08-21 15:59:15 +02:00
slashformotion
6bc21de118 Fix choice katex/mathjax switch
Fixes #29
2021-08-21 15:56:16 +02:00
slashformotion
4432cb953b
move the syntax highlighting theme choice to the scss file (#30)
* move the syntax highlighting theme choice to the scss file
Fixes #25

* move the syntax highlighting theme choice to the scss file
Fixes #25
2021-08-21 15:31:28 +02:00
slashformotion
70c7b91f81
Convert css to scss entirely (#24)
* Convert css to scss entirely
Fixes #15

* tufte css is now a scss file
2021-08-20 23:21:47 +02:00
slashformotion
ccb1ac00c7
Update the link for the theme repo in the footer (#23)
Fixes #22
2021-08-15 14:37:18 +02:00
slashformotion
628637be81
Markdown support in all shortcodes (#21)
Fixes #20
2021-08-15 14:28:10 +02:00
slashformotion
4e38a13914
Markdown support in marginnote (#19)
Fixes #18
2021-08-15 11:48:55 +02:00
slashformotion
f6455a8213
404.html is now complete
* 404 is now fully reworked
2021-08-07 21:45:19 +02:00
slashformotion
2e8881ec8b Feature added: ID driven socials
- bump fontawesome from 4.5.0 to 5.14.0
- documented in README.md
fix #10
2021-08-06 21:46:35 +02:00
TuckerD
ba23674640
Improve code blocks styling (#13)
* add highlight config for code highlighter

* add default pygment css "github"

* fix styles for code blocks

* remove dead html from margin note

*These don't appear to do anything?

* Fix scrolling in code block

* More CSS fixes for code blocks

* ignore generated scss files. Probably other generated files too

* Use scss to generate more powerful styles for code blocks

* Document new code blocks style option

Improve code blocks styling
2021-08-03 22:18:19 +02:00
Dwarkesh Patel
67fb77fc2b fixed margin note bug 2021-08-01 13:15:43 -05:00
Dwarkesh Patel
269a529f72
Merge branch 'slashformotion:master' into master 2021-08-01 13:08:07 -05:00
Dwarkesh Patel
193c7f6497 fixed title href 2021-08-01 13:06:53 -05:00
slashformotion
92cf44c208 fix 404.html is not reworked #8 2021-08-01 11:52:39 +02:00
Dwarkesh Patel
fa0169737b fixed title issue 2021-07-31 21:48:37 -05:00
Dwarkesh Patel
c3edb6073c title links back to home 2021-07-31 09:38:26 -05:00
Dwarkesh Patel
69ceb70a48 Allows adding link to the citation in the epigraph 2021-07-31 09:18:32 -05:00
slashformotion
07a755cafb chores 2021-07-30 21:08:12 +02:00
slashformotion
37ecc69ecc enable either mathjax or katex
Fixes slashformotion/hugo-tufte#9
2021-07-30 21:07:51 +02:00
slashformotion
52004c23f5 delete highlight.html partial 2021-07-30 19:28:00 +02:00
slashformotion
6acc891c01 fix relative url 2021-07-28 11:12:43 +02:00
slashformotion
0299aa32d3 Fix #7: katex now work as expected 2021-07-28 11:02:23 +02:00
slashformotion
63de5c8780 update pure css cdn link 2021-07-28 10:51:14 +02:00
slashformotion
1bb3a4def4 fixed list view 2021-07-25 10:04:57 +02:00
slashformotion
c2651830a6 syntax hilighting 2021-07-25 10:04:41 +02:00
slashformotion
c396f150c9 added hr to brand 2021-07-25 10:04:01 +02:00
slashformotion
b682f1d8c3 Fix bloquotes 2021-07-25 10:03:10 +02:00
slashformotion
c454c6f4ca Started refactoring 2021-07-21 20:23:55 +02:00
Charles Wimmer
e70a1f0e91
Fixes Hugo deprecation warnings (#16) 2021-01-31 14:48:46 -08:00
Jeremy Friesen
4299d3bfdb Removing dom ID requirement for margin/sidenotes (#10)
* Removing dom ID requirement for margin/sidenotes

Prior to this commit, when using the `marginnote` or `sidenote`
shortcodes, you would need to pass a domId parameter to the shortcode.

With this change you no longer need to pass a parameter, and any
parameter passed is ignored. The pre-amble creates a unique domID for
the shortcodes.

* Replacing convoluted Scratch with Ordinal

I was leveraging the Scratch function of Hugo, when I could instead
rely on `.Ordinal`
2019-04-18 09:37:06 -07:00
Josh Asplund
cfa6769e1c Updates footer.html (#8)
Fixes #7
2018-01-01 16:10:52 -08:00
Shawn O'Hare
f88858d6eb Fixes #3
Urlized terms already include the type (e.g., categories or tags).
2016-02-21 08:05:04 -08:00
Shawn O'Hare
363c1d6497 Fix unclosed <a> tag. 2016-01-15 10:08:17 -08:00
Shawn O'Hare
82958f2609 v0.1.0
Theme should be useable, but there might be some minor stylistic tweaks
here and there.
2016-01-14 21:02:57 -08:00
Shawn O'Hare
e3d2a647f9 Load hugo-tufte-override.css.
This makes it easier for users of the theme to customize the styling.
2016-01-14 20:43:52 -08:00
Shawn O'Hare
14cec251c4 Add table of contents partial template. 2016-01-14 20:41:44 -08:00
Shawn O'Hare
2c4ac3082f Add more shortcodes. 2016-01-14 20:41:16 -08:00
Shawn O'Hare
8dafca7e01 Use content.header partial for pages and nodes. 2016-01-14 20:40:27 -08:00
Shawn O'Hare
b9ec18d78e Add and Refactor shortcodes.
Add the epigraph shortcode.  This should complete the Tufte-CSS
specific shortcodes.  Additionally, the section and div shortcodes
were refactored for ease of use.
2016-01-01 11:51:23 -08:00
Shawn O'Hare
f48e153d93 Add blockquote shortcode. 2015-12-30 22:10:37 -08:00
Shawn O'Hare
45c0414b3d Add section shortcode.
It seems there are some issues in wrapping complex blocks of markdown in
html tags, especially when the block contains other short codes.
Content would either only partially render or fail completely.
2015-12-30 21:34:52 -08:00