Skip to content
Snippets Groups Projects
Verified Commit d32e639b authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Remove cachebusting for fonts

parent b90e62e1
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 22 deletions
module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-700.57888be7.svg"; module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-700.svg";
\ No newline at end of file \ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-italic.39c358e4.svg"; module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-italic.svg";
\ No newline at end of file \ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-regular.8681f434.svg"; module.exports = __webpack_public_path__ + "../fonts/roboto-v18-latin-regular.svg";
\ No newline at end of file \ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/bitbucket.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/bitbucket.4ebea66e.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/github.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/github.a4034fb1.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/gitlab.svg";
\ No newline at end of file
module.exports = __webpack_public_path__ + "../fonts/gitlab.348cdb3a.svg";
\ No newline at end of file
@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(../fonts/roboto-v18-latin-300.548ebe05.eot);src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v18-latin-300.548ebe05.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-300.55536c8e.woff2) format("woff2"),url(../fonts/roboto-v18-latin-300.a1471d1d.woff) format("woff"),url(../fonts/roboto-v18-latin-300.ab2789c4.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-300.d9316bc5.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/roboto-v18-latin-regular.68889c24.eot);src:local(Roboto),local("Roboto-Regular"),url(../fonts/roboto-v18-latin-regular.68889c24.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-regular.5d4aeb4e.woff2) format("woff2"),url(../fonts/roboto-v18-latin-regular.bafb105b.woff) format("woff"),url(../fonts/roboto-v18-latin-regular.372d0cc3.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-regular.53260f45.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(../fonts/roboto-v18-latin-italic.f5c365f2.eot);src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v18-latin-italic.f5c365f2.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-italic.d8bcbe72.woff2) format("woff2"),url(../fonts/roboto-v18-latin-italic.9680d5a0.woff) format("woff"),url(../fonts/roboto-v18-latin-italic.b202ab6c.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-italic.added318.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(../fonts/roboto-v18-latin-700.376e0950.eot);src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v18-latin-700.376e0950.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-700.037d8304.woff2) format("woff2"),url(../fonts/roboto-v18-latin-700.cf6613d1.woff) format("woff"),url(../fonts/roboto-v18-latin-700.cae5027f.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-700.3dcceedf.svg#Roboto) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot);src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v5-latin-regular.2b497e54.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-regular.e92cc0fb.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-regular.1db1469b.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-regular.c03588a7.ttf) format("truetype"),url(assets/fonts/roboto-mono-v5-latin-regular.ba10779f.svg#RobotoMono) format("svg")}
/*!
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(../fonts/fa-brands-400.748ab466.eot);src:url(../fonts/fa-brands-400.748ab466.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.3654744d.woff2) format("woff2"),url(../fonts/fa-brands-400.2248542e.woff) format("woff"),url(../fonts/fa-brands-400.7febe26e.ttf) format("truetype"),url(assets/fonts/fa-brands-400.cb549068.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands,sans-serif}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(../fonts/MaterialIcons-Regular.e79bfd88.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(../fonts/MaterialIcons-Regular.570eb838.woff2) format("woff2"),url(../fonts/MaterialIcons-Regular.012cf6a1.woff) format("woff"),url(../fonts/MaterialIcons-Regular.a37b0c01.ttf) format("truetype")}.material-icons{display:inline-block;font-family:Material Icons,sans-serif;font-size:1.5rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-rendering:optimizeLegibility;text-transform:none;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";font-feature-settings:"liga"}
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhc3NldHMvc3R5bGVzaGVldHMvZm9udHMuMmFkZWJhNmUuY3NzIiwic291cmNlUm9vdCI6IiJ9*/
\ No newline at end of file
@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(../fonts/roboto-v18-latin-300.eot);src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v18-latin-300.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-300.woff2) format("woff2"),url(../fonts/roboto-v18-latin-300.woff) format("woff"),url(../fonts/roboto-v18-latin-300.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-300.3fc7b334.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../fonts/roboto-v18-latin-regular.eot);src:local(Roboto),local("Roboto-Regular"),url(../fonts/roboto-v18-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-regular.woff2) format("woff2"),url(../fonts/roboto-v18-latin-regular.woff) format("woff"),url(../fonts/roboto-v18-latin-regular.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-regular.e41692f4.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(../fonts/roboto-v18-latin-italic.eot);src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v18-latin-italic.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-italic.woff2) format("woff2"),url(../fonts/roboto-v18-latin-italic.woff) format("woff"),url(../fonts/roboto-v18-latin-italic.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-italic.c711d15d.svg#Roboto) format("svg")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(../fonts/roboto-v18-latin-700.eot);src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v18-latin-700.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-v18-latin-700.woff2) format("woff2"),url(../fonts/roboto-v18-latin-700.woff) format("woff"),url(../fonts/roboto-v18-latin-700.ttf) format("truetype"),url(assets/fonts/roboto-v18-latin-700.8cae498c.svg#Roboto) format("svg")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../fonts/roboto-mono-v5-latin-regular.eot);src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v5-latin-regular.eot?#iefix) format("embedded-opentype"),url(../fonts/roboto-mono-v5-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v5-latin-regular.woff) format("woff"),url(../fonts/roboto-mono-v5-latin-regular.ttf) format("truetype"),url(assets/fonts/roboto-mono-v5-latin-regular.4bc6bb05.svg#RobotoMono) format("svg")}
/*!
* Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(assets/fonts/fa-brands-400.d6aba52f.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands,sans-serif}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(../fonts/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(../fonts/MaterialIcons-Regular.woff2) format("woff2"),url(../fonts/MaterialIcons-Regular.woff) format("woff"),url(../fonts/MaterialIcons-Regular.ttf) format("truetype")}.material-icons{display:inline-block;font-family:Material Icons,sans-serif;font-size:1.5rem;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-rendering:optimizeLegibility;text-transform:none;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-feature-settings:"liga";font-feature-settings:"liga"}
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhc3NldHMvc3R5bGVzaGVldHMvZm9udHMuYmZjMmNlYzYuY3NzIiwic291cmNlUm9vdCI6IiJ9*/
\ No newline at end of file
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
{% endblock %} {% endblock %}
{% block fonts %} {% block fonts %}
<style>body,input{font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style> <style>body,input{font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono","Courier New",Courier,monospace}</style>
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/fonts.2adeba6e.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/fonts.bfc2cec6.css">
{% endblock %} {% endblock %}
{% for path in extra_css %} {% for path in extra_css %}
<link rel="stylesheet" href="{{ path }}"> <link rel="stylesheet" href="{{ path }}">
...@@ -76,11 +76,11 @@ ...@@ -76,11 +76,11 @@
<defs> <defs>
{% set platform = config.extra.repo_icon or config.repo_url %} {% set platform = config.extra.repo_icon or config.repo_url %}
{% if "github" in platform %} {% if "github" in platform %}
{% include "assets/images/icons/github.b9343335.svg" %} {% include "assets/images/icons/github.2d56fc44.svg" %}
{% elif "gitlab" in platform %} {% elif "gitlab" in platform %}
{% include "assets/images/icons/gitlab.f96688d3.svg" %} {% include "assets/images/icons/gitlab.17bfea7c.svg" %}
{% elif "bitbucket" in platform %} {% elif "bitbucket" in platform %}
{% include "assets/images/icons/bitbucket.d253e569.svg" %} {% include "assets/images/icons/bitbucket.d123b08c.svg" %}
{% endif %} {% endif %}
</defs> </defs>
</svg> </svg>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.48e197b2.js"></script> <script src="{{ base_url }}/assets/javascripts/application.194387a8.js"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}
......
...@@ -85,9 +85,7 @@ module.exports = env => { ...@@ -85,9 +85,7 @@ module.exports = env => {
test: /\.(eot|svg|ttf|woff|woff2)$/, test: /\.(eot|svg|ttf|woff|woff2)$/,
loader: "file-loader", loader: "file-loader",
options: { options: {
name: `../fonts/[name]${ name: "../fonts/[name].[ext]",
env && env.prod ? ".[md5:hash:hex:8]" : ""
}.[ext]`,
context: path.resolve(__dirname, "./src"), context: path.resolve(__dirname, "./src"),
relativePaths: true relativePaths: true
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment