Skip to content
Permalink
Browse files

Migrating scss to Hugo pipes

  • Loading branch information
jd4no committed Oct 10, 2018
1 parent afc0e0f commit ce4dba3341bbfab5a4d2d49455433fc0851415d0
Showing with 18 additions and 840 deletions.
  1. +2 −2 .gitmodules
  2. 0 {static-src → assets}/scss/hugo-toc.scss
  3. 0 {static-src → assets}/scss/hyde-hyde.scss
  4. 0 {static-src → assets}/scss/hyde-hyde/_base.scss
  5. 0 {static-src → assets}/scss/hyde-hyde/_code.scss
  6. 0 {static-src → assets}/scss/hyde-hyde/_gist.scss
  7. 0 {static-src → assets}/scss/hyde-hyde/_list.scss
  8. 0 {static-src → assets}/scss/hyde-hyde/_misc.scss
  9. 0 {static-src → assets}/scss/hyde-hyde/_mixins.scss
  10. 0 {static-src → assets}/scss/hyde-hyde/_navigation.scss
  11. 0 {static-src → assets}/scss/hyde-hyde/_post.scss
  12. 0 {static-src → assets}/scss/hyde-hyde/_print.scss
  13. 0 {static-src → assets}/scss/hyde-hyde/_project.scss
  14. 0 {static-src → assets}/scss/hyde-hyde/_responsive.scss
  15. 0 {static-src → assets}/scss/hyde-hyde/_sidebar.scss
  16. 0 {static-src → assets}/scss/hyde-hyde/_taxonomies.scss
  17. 0 {static-src → assets}/scss/hyde-hyde/_theme.scss
  18. 0 {static-src → assets}/scss/hyde-hyde/_variables.scss
  19. 0 {static-src → assets}/scss/poole/_base.scss
  20. 0 {static-src → assets}/scss/poole/_code.scss
  21. 0 {static-src → assets}/scss/poole/_layout.scss
  22. 0 {static-src → assets}/scss/poole/_masthead.scss
  23. 0 {static-src → assets}/scss/poole/_message.scss
  24. 0 {static-src → assets}/scss/poole/_pagination.scss
  25. 0 {static-src → assets}/scss/poole/_poole.scss
  26. 0 {static-src → assets}/scss/poole/_posts.scss
  27. 0 {static-src → assets}/scss/poole/_syntax.scss
  28. 0 {static-src → assets}/scss/poole/_type.scss
  29. 0 {static-src → assets}/scss/poole/_variables.scss
  30. 0 {static-src → assets}/scss/print.scss
  31. 0 {static-src → assets}/scss/tocbot.scss
  32. +16 −7 layouts/partials/header/styles.html
  33. +0 −2 static/css/hugo-toc.css
  34. +0 −1 static/css/hugo-toc.css.map
  35. +0 −777 static/css/hyde-hyde.css
  36. +0 −1 static/css/hyde-hyde.css.map
  37. +0 −46 static/css/print.css
  38. +0 −1 static/css/print.css.map
  39. +0 −2 static/css/tocbot.css
  40. +0 −1 static/css/tocbot.css.map
@@ -1,3 +1,3 @@
[submodule "static-src/scss/font-awesome"]
path = static-src/scss/font-awesome
[submodule "assets/scss/font-awesome"]
path = assets/scss/font-awesome
url = git@github.com:FortAwesome/font-awesome-sass.git
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,10 +1,19 @@
{{ partial "header/styles-highlight.html" . }}
<link rel="stylesheet" href="{{ "css/hyde-hyde.css" | relURL }}">
<link rel="stylesheet" href="{{ "css/print.css" | relURL }}" media="print">

{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}

{{ $style := resources.Get "scss/hyde-hyde.scss" | toCSS $options | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">

{{ $printStyle := resources.Get "scss/print.scss" | toCSS $options | fingerprint }}
<link rel="stylesheet" href="{{ $printStyle.Permalink }}" integrity="{{ $printStyle.Data.Integrity }}" media="print">

{{ with .Site.Params.toc }}
{{ if eq . "hugo" }}
<link rel="stylesheet" href="{{ "css/hugo-toc.css" | relURL }}">
{{ else if eq . "tocbot"}}
<link rel="stylesheet" href="{{ "css/tocbot.css" | relURL }}">
{{ end }}
{{ if eq . "hugo" }}
{{ $hugoToc := resources.Get "scss/hugo-toc.scss" | toCSS $options | fingerprint }}
<link rel="stylesheet" href="{{ $hugoToc.Permalink }}" integrity="{{ $hugoToc.Data.Integrity }}">
{{ else if eq . "tocbot"}}
{{ $tocbot := resources.Get "scss/tocbot.scss" | toCSS $options | fingerprint }}
<link rel="stylesheet" href="{{ $tocbot.Permalink }}" integrity="{{ $tocbot.Data.Integrity }}">
{{ end }}
{{ end }}

This file was deleted.

This file was deleted.

0 comments on commit ce4dba3

Please sign in to comment.
You can’t perform that action at this time.