Commit Graph

49 Commits

Author SHA1 Message Date
Thomas M Ward 38d4939eec
Allow inline html in _index.Rmarkdown (#42)
Starting with hugo 0.60, the default markdown renderer changed from
blackdown to goldmark. By default, goldmark does not render raw HTML so
specifying raw html in _index.Rmarkdown (in this instance to customize
an image's display) created an html file with <!-- raw HTML omitted -->
rather than the correct html to display the image.

You can make goldmark include raw html by switching it to `unsafe` mode
in the `config.toml` which this commit does.

As an FYI, An alternative is to mv `_index.Rmarkdown` to `_index.Rmd`
which will switch the markdown engine from goldmark to pandoc which
still renders raw html.
2020-07-24 14:45:45 -05:00
Yihui Xie 982dfb320e rebuild site 2019-08-16 13:09:01 -05:00
Yihui Xie 6123be24bf fix https://github.com/gohugoio/hugoThemes/issues/682 for the XMin theme 2019-08-16 13:08:49 -05:00
Yihui Xie da0192c7a7 actually use .RelPermalink instead of .Permalink 2019-04-18 13:57:06 -05:00
Yihui Xie 91d31b38fb close #37: remove the deprecated preserveTaxonomyNames = true, and use .Page.Title to get the taxonomy names instead 2019-04-18 13:54:08 -05:00
Yihui Xie d7e19b268c .URL has been deprecated in a recent version of Hugo 2019-04-18 13:44:29 -05:00
Yihui Xie 985e481c27 update copyright year 2019-03-19 21:56:40 -05:00
Justin Clift df70ce30b6 Trivial typo fix (#32) 2019-01-31 09:22:25 -06:00
Yihui Xie 736206d326 a missing ; 2018-12-13 23:14:37 -06:00
Yihui Xie 31231a681a change mathjax cdn 2018-10-01 09:00:27 -05:00
Yihui Xie e658235991 markdownify post titles since some people use backticks in post titles, and MathJax will treat content in backticks as inline math
e.g.

@jystatistics: https://jystatistics.rbind.io/post/2018/06/28/study-ggplot2/

@tcgriffith: https://tc.rbind.io/post/2018/01/25/apply-and-do-call/
2018-08-30 09:24:07 -05:00
Yihui Xie 9c9c90e5ab remove R/build.R from the repo 2018-08-30 09:12:47 -05:00
Shimmy Xu 6b05e21804 Correct date check in single.html. (#25) 2018-02-18 22:10:16 -06:00
Yihui Xie 04a720a54b rebuild site 2018-01-27 19:41:55 -06:00
Yihui Xie dc1cbc6409 update copyright year 2018-01-27 19:41:46 -06:00
Yihui Xie 6d12cfc380 close #20: only create README.md for myself 2018-01-27 14:03:15 -06:00
Yihui Xie d0209f7604 close #19: disable the bash chunk on the operating system that is only _this_ tall (even after trying to incorporating a really tall system as its subsystem) 2018-01-26 23:30:36 -06:00
Yihui Xie c14ca049d0 update wc output 2017-10-26 21:56:35 -05:00
Yihui Xie ffa1147b46 bash and sed may not be available on Windows 2017-10-08 09:23:40 -05:00
oneleaftea 11ad2599ed Fix centering on menu in header (style.css change) (#12)
* Update style.css to change .menu padding to 0px

Since menu li items normally add padding, it off-centers the menu. Changing padding to 0px fixes this.

* split the two CSS rules
2017-08-26 09:05:11 -05:00
Yihui Xie 6272e671f9 gray background for table header/footer 2017-08-09 11:40:47 -05:00
Yihui Xie 0a869e2e76 rename .Rmd to .Rmarkdown and add the build script 2017-08-09 11:40:31 -05:00
Yihui Xie 4888812fd8 fix #10: urlize the terms 2017-07-26 12:48:46 -05:00
Yihui Xie 85309648e9 no longer need to configure MathJax due to 2838faa426 2017-07-13 02:07:56 -05:00
Yihui Xie 5e3ead4fe4 make it mobile friendly 2017-07-11 01:59:15 -05:00
Yihui Xie b9953b82cd preserve taxonomy names 2017-07-09 12:45:07 -05:00
Yihui Xie c5395bb1f4 use sans-serif fonts instead 2017-07-03 11:07:27 -05:00
Yihui Xie 6fddf0aaa7 tweak description 2017-06-30 17:12:30 -05:00
Daijiang Li 93555b8eda correct github source url (#8) 2017-06-29 21:11:54 -05:00
Yihui Xie bc1f70e3e6 one more PR 2017-06-22 23:27:14 -05:00
Yihui Xie 6a3f34d179 Hugo 0.24 requires title and date in archtypes for some reason 2017-06-22 14:38:34 -05:00
Yihui Xie 9ddf2d2011 mention hugo-xmin pull requests to implement other features 2017-06-21 22:41:09 -05:00
Yihui Xie fd1800795e add a link to the custom foot_custom.html 2017-06-19 23:00:10 -05:00
Yihui Xie bfe749bfdb no need to be global here 2017-06-19 14:51:07 -05:00
Yihui Xie 4bb3052d17 I guess it is unnecessary (perhaps even wrong) to urlize terms 2017-06-19 14:19:12 -05:00
Yihui Xie 307a0a9153 rename copyright to footer, since the variable copyright is used in the RSS feed 2017-06-16 22:54:36 -05:00
Yihui Xie d023e3b560 add language code 2017-06-16 22:50:19 -05:00
Yihui Xie 2b5a86a26b use float and add the alt attribute to <img> 2017-06-16 22:45:54 -05:00
Yihui Xie feeaee163c an alternative way to add a page to menu 2017-06-16 12:26:51 -05:00
Yihui Xie f7755a0a0c protocol-free 2017-06-16 12:20:24 -05:00
Yihui Xie 798672d0ce tweak about 2017-06-16 12:20:03 -05:00
Yihui Xie ceaf33ead6 full absolute link to screenshot 2017-06-16 12:11:25 -05:00
Yihui Xie 6abe71e2a7 link screenshot to documentation 2017-06-15 23:39:20 -05:00
Yihui Xie a9f25bbe87 add author 2017-06-15 23:36:01 -05:00
Yihui Xie fc88aa63e1 add categories and tags 2017-06-15 23:20:55 -05:00
Yihui Xie 13901ba8b4 add readme and screenshots 2017-06-15 23:08:08 -05:00
Yihui Xie ec81eb1d4a add example site 2017-06-15 23:07:44 -05:00
Yihui Xie 1117677006 add theme.toml, archetypes, layouts, and css 2017-06-15 23:06:16 -05:00
Yihui Xie fa6cebe729 start the project in RStudio 2017-06-15 23:03:54 -05:00