Skip to content
Snippets Groups Projects
  1. Apr 19, 2018
  2. Apr 18, 2018
    • Yihui Xie's avatar
      a news item for #291 · 27b65b14
      Yihui Xie authored
      27b65b14
    • Yihui Xie's avatar
      no matter if theme argument is a URL, eventually we should set `theme`... · a049031c
      Yihui Xie authored
      no matter if theme argument is a URL, eventually we should set `theme` according to `newdir` because that is the actual folder name
      
      this is a fundamental fix to #291
      a049031c
    • Rory Nolan's avatar
      replace 'yihui/hugo-lithium-theme' with 'yihui/hugo-lithium' (#291) · c766c985
      Rory Nolan authored
      * replace 'yihui/hugo-lithium-theme' with 'yihui/hugo-lithium'
      
      When I run `blogdown::new_site()` with the default `theme = "yihui/hugo-lithium-theme"`, I get an error:
      ```
      Rendering content/post/2015-07-23-r-rmarkdown.Rmd
      Error: Unable to find theme Directory: /Users/rnolan/Dropbox/R/blog/themes/hugo-lithium-theme
      
      Serving the directory /Users/rnolan/Dropbox/R/blog at http://127.0.0.1:5641
      To stop the server, run servr::daemon_stop("4326078320") or restart your R session
      Error in setwd(site.dir) : cannot change working directory
      ```
      However I notice that even though there's no `/Users/rnolan/Dropbox/R/blog/themes/hugo-lithium-theme`, there is a `/Users/rnolan/Dropbox/R/blog/themes/hugo-lithium`. For reasons that I don't fully understand, when I run `blogdown::new_site(theme = "yihui/hugo-lithium-theme")`, everything works fine. This may be because https://github.com/yihui/hugo-lithium-theme redirects to https://github.com/yihui/hugo-lithium, but I don't know. In any case, https://github.com/yihui/hugo-lithium seems to be in working order and I think it should all work fine with that as the new default.
      Thanks Yihui and other authors and maintainers, your work makes our lives easier :)
      
      * Address CI issues.
      
      * Undo unnecessary changes in PR (the necessary ones are still there).
      
      * Try to keep Yihui's style for everything.
      
      * rename more instances of hugo-lithium-theme to hugo-lithium
      
      * use Rd2roxygen::rab()
      
      * bump version
      c766c985
  3. Apr 02, 2018
  4. Mar 29, 2018
  5. Mar 28, 2018
  6. Mar 23, 2018
  7. Mar 20, 2018
  8. Mar 12, 2018
  9. Mar 07, 2018
  10. Mar 06, 2018
    • Garrick Aden-Buie's avatar
      Allow full url in `theme` arg in `install_theme` (#270) (#271) · 4266c338
      Garrick Aden-Buie authored
      * Allow full URL in theme arg in new_site and install_theme (#270)
      
      * Unzip theme into tmpdir to respect force arg
      
      * Strip tmpdir from zipdir after finding expdir
      
      * Refactor zipdir/newdir in install_theme
      
      * Clean SHA and branch from theme install dir
      
      * Hard OR if branch is empty string
      
      * Add contributor and news item for theme arg update
      4266c338
  11. Feb 27, 2018
    • Yihui Xie's avatar
    • Leonardo Collado-Torres's avatar
      Resolve issues about archetypes and new posts with a non-default `kind` (#263) · c2f14cc1
      Leonardo Collado-Torres authored
      * v0.5.5 -- resolves #173
      
      Details: default_kind() now finds the archetype matching the type of content. The new_post addin now lets you choose an archetype.
      
      * v0.5.6 new_content() can now work with files that end in .Rmd and .Rmarkdown. Resolves #261.
      
      Details: new_content() will create a copy of the file with a .md termination so that hugo will be able to work with it. Once hugo is done, the temporary files are deleted.
      
      * Add @lcolladotor as a ctb
      
      * Fix  menu location to keep height at 500 px
      
      * No longer assume that the path includes /content/ for default_kind()
      
      * Remove the big if() {} else {} code. However some if()s are still needed in case that the file does indeed have a .md file extension (otherwise it gets deleted). Hopefully this look less complicated
      
      * Switch to code @yihui wrote in the PR review (after testing it)
      
      * Switch back to original code for default_kind() now that I understand correctly that path is post/date-slug.md or something like that instead of content/post/date-slug.md
      c2f14cc1
  12. Feb 25, 2018
    • Ian Lyttle's avatar
      adds host to formals of install_theme() and new_site() (#265) · 95f694dc
      Ian Lyttle authored
      * adds host to formals of install_theme() and new_site()
      
      * changes `host` to `hostname`
      
      * adds hostname functionality
      
      * rebuilds Rd files
      
      * moves hostname next to theme in formals
      
      * adds @ijlyttle to contributors
      
      adds bullet point to NEWS.md (corrects typo in previous bullet)
      95f694dc
  13. Feb 19, 2018
  14. Feb 13, 2018
  15. Feb 12, 2018
  16. Jan 30, 2018
  17. Jan 24, 2018
  18. Jan 23, 2018
  19. Jan 19, 2018
Loading