feat: chaffle now inline
This commit is contained in:
parent
0b71fb0b52
commit
3f31251769
|
@ -16,7 +16,6 @@ module.exports = function (eleventyConfig) {
|
||||||
eleventyConfig.setLibrary("md", markdownLib);
|
eleventyConfig.setLibrary("md", markdownLib);
|
||||||
eleventyConfig.addWatchTarget("./src/scss/");
|
eleventyConfig.addWatchTarget("./src/scss/");
|
||||||
eleventyConfig.addPassthroughCopy({
|
eleventyConfig.addPassthroughCopy({
|
||||||
"node_modules/chaffle/docs/chaffle.min.js": "javascript/chaffle.min.js",
|
|
||||||
"assets/": "./",
|
"assets/": "./",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ yarn run build
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
This repository is under the [Contributing Covenant](https://www.contributor-covenant.org/) code of conduct.
|
This repository is under the [Contributing Covenant](https://www.contributor-covenant.org/) code of conduct.
|
||||||
See [`CONTRIBUTING`](https://git.inpt.fr/fainsil/personnal-website/-/blob/master/CONTRIBUTING.md) for more information.
|
See [`CONTRIBUTING.md`](https://git.inpt.fr/fainsil/personnal-website/-/blob/master/CONTRIBUTING.md) for more information.\
|
||||||
Please use [conventionnal commits](https://www.conventionalcommits.org/).
|
Please use [conventionnal commits](https://www.conventionalcommits.org/).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
1
src/_includes/javascript/chaffle.min.js
vendored
Symbolic link
1
src/_includes/javascript/chaffle.min.js
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../node_modules/chaffle/docs/chaffle.min.js
|
|
@ -5,7 +5,9 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.png' | url }}">
|
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.png' | url }}">
|
||||||
<script src="{{ '/javascript/chaffle.min.js' | url }}"></script>
|
<script>
|
||||||
|
{% include "javascript/chaffle.min.js" %}
|
||||||
|
</script>
|
||||||
<title>{{ username }}</title>
|
<title>{{ username }}</title>
|
||||||
{% block head %}{% endblock head %}
|
{% block head %}{% endblock head %}
|
||||||
<style>
|
<style>
|
||||||
|
|
Reference in a new issue