Skip to content

Commit

Permalink
Revert "CORS and Polish lang (#126)"
Browse files Browse the repository at this point in the history
This reverts commit 9b49548.
  • Loading branch information
victoriadrake committed Mar 13, 2019
1 parent a8f42fd commit d20d6dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
25 changes: 0 additions & 25 deletions i18n/pl.toml

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/partials/css/owlCarousel.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $owlCarousel := resources.Get "vendor/owlCarousel/owl.carousel.min.css" }}
{{ $owlCarouselTheme := resources.Get "vendor/owlCarousel/owl.theme.default.min.css" }}
{{ $owlCarouselBundle := slice $owlCarousel $owlCarouselTheme | resources.Concat "/styles/owlCarousel.min.css" | fingerprint }}
<link rel="stylesheet" href="{{ $owlCarouselBundle.Permalink }}" integrity="{{ $owlCarouselBundle.Data.Integrity }}" crossorigin="anonymous" media="screen">
<link rel="stylesheet" href="{{ $owlCarouselBundle.Permalink }}" integrity="{{ $owlCarouselBundle.Data.Integrity }}" media="screen">
4 changes: 2 additions & 2 deletions layouts/partials/head/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
{{ $cssOpts := (dict "targetPath" "/css/main.css" ) }}
{{ $postCSSOpts := (dict "use" "autoprefixer" ) }}
{{ $bundle := $bundleRaw | toCSS $cssOpts | postCSS $postCSSOpts | minify | fingerprint }}
<link rel="stylesheet" href="{{ $bundle.Permalink }}" integrity="{{ $bundle.Data.Integrity }}" crossorigin="anonymous" media="screen">
<link rel="stylesheet" href="{{ $bundle.Permalink }}" integrity="{{ $bundle.Data.Integrity }}" media="screen">
{{ end }}

<!-- Custom css -->
{{ range .Site.Params.customCSS -}}
{{ $style := resources.Get . }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" crossorigin="anonymous" media="screen">
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
{{- end }}

0 comments on commit d20d6dd

Please sign in to comment.