diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 5497a3d..5053443 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -17,11 +17,11 @@ jobs: - name: Run autoprefixer run: | - npm install postcss-cli autoprefixer --save-dev + npm install postcss postcss-cli autoprefixer --save-dev npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.9.1 + uses: peter-evans/create-pull-request@v3.10.0 with: branch: autoprefixer branch-suffix: timestamp diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..bb8531b --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,71 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ main ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] + schedule: + - cron: '19 16 * * 2' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] + # Learn more: + # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/md-link-checker.yml b/.github/workflows/md-link-checker.yml index 25a6277..43015db 100644 --- a/.github/workflows/md-link-checker.yml +++ b/.github/workflows/md-link-checker.yml @@ -10,4 +10,4 @@ jobs: # checkout to latest commit - uses: actions/checkout@master # run markdown linter - - uses: gaurav-nelson/github-action-markdown-link-check@v1 + - uses: gaurav-nelson/github-action-markdown-link-check@1.0.12 diff --git a/README.md b/README.md index 64a5572..abe7f84 100644 --- a/README.md +++ b/README.md @@ -137,10 +137,16 @@ params: # specify whether you want to show Table of Contents in reading page enableTOC: true - # Provide newsletter configuration. This feature hasn't been implemented yet. - # Currently, you can just hide it from the footer. + # Provide newsletter configuration. + # This feature has been implemented for Mailchimp only for now. + # You can also hide it from the footer. newsletter: + # specify whether you want to display the newsletter form enable: true + # specify which newsletter provider you want to use + provider: mailchimp + # specify the target URL for the subscription form + mailchimpURL: https://github.us1.list-manage.com/subscribe/post?u=19de52a4603135aae97163fd8&id=094a24c76e ``` Don't forget to update `title`, `baseURL`, and `gitRepo` fields with your own information. To know about more available configuration options, please visit [here](https://toha-guides.netlify.app/posts/configuration/site-parameters/). diff --git a/content/notes/search.bn.md b/content/notes/search.bn.md new file mode 100644 index 0000000..2f67d73 --- /dev/null +++ b/content/notes/search.bn.md @@ -0,0 +1,54 @@ +--- +title: "অনুসন্ধানের ফলাফল" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.cn.md b/content/notes/search.cn.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.cn.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.de.md b/content/notes/search.de.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.de.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.es.md b/content/notes/search.es.md new file mode 100644 index 0000000..77889e8 --- /dev/null +++ b/content/notes/search.es.md @@ -0,0 +1,54 @@ +--- +title: "Resultados de Búsqueda" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +Este archivo existe únicamente para responder a la URL /search con la plantilla de diseño `search` relacionada. + +No se muestra ningún contenido aquí, todo el contenido se basa en la plantilla layouts/page/search.html + +Establecer una prioridad muy baja en el mapa del sitio le dirá a los motores de búsqueda que éste no es un contenido importante. + +Esta implementación utiliza Fusejs, jquery y mark.js + + +## Configuración inicial + +La búsqueda depende del tipo de contenido de salida adicional de JSON en config.toml + +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Búsqueda de archivos adicionales + +Para buscar campos adicionales definidos en el front matter, debes añadirlo en 2 lugares. + +### Editar layouts/_default/index.JSON +Esto expone los valores en /index.json: por ejemplo, para agregar `categories` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Editar las opciones de fuse.js para buscar +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.fr.md b/content/notes/search.fr.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.fr.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.hi.md b/content/notes/search.hi.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.hi.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.id.md b/content/notes/search.id.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.id.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.it.md b/content/notes/search.it.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.it.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.jp.md b/content/notes/search.jp.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.jp.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.ko.md b/content/notes/search.ko.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.ko.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.ru.md b/content/notes/search.ru.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.ru.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/notes/search.vn.md b/content/notes/search.vn.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/notes/search.vn.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.bn.md b/content/posts/search.bn.md new file mode 100644 index 0000000..2f67d73 --- /dev/null +++ b/content/posts/search.bn.md @@ -0,0 +1,54 @@ +--- +title: "অনুসন্ধানের ফলাফল" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.cn.md b/content/posts/search.cn.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.cn.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.de.md b/content/posts/search.de.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.de.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.es.md b/content/posts/search.es.md new file mode 100644 index 0000000..77889e8 --- /dev/null +++ b/content/posts/search.es.md @@ -0,0 +1,54 @@ +--- +title: "Resultados de Búsqueda" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +Este archivo existe únicamente para responder a la URL /search con la plantilla de diseño `search` relacionada. + +No se muestra ningún contenido aquí, todo el contenido se basa en la plantilla layouts/page/search.html + +Establecer una prioridad muy baja en el mapa del sitio le dirá a los motores de búsqueda que éste no es un contenido importante. + +Esta implementación utiliza Fusejs, jquery y mark.js + + +## Configuración inicial + +La búsqueda depende del tipo de contenido de salida adicional de JSON en config.toml + +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Búsqueda de archivos adicionales + +Para buscar campos adicionales definidos en el front matter, debes añadirlo en 2 lugares. + +### Editar layouts/_default/index.JSON +Esto expone los valores en /index.json: por ejemplo, para agregar `categories` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Editar las opciones de fuse.js para buscar +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.fr.md b/content/posts/search.fr.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.fr.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.hi.md b/content/posts/search.hi.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.hi.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.id.md b/content/posts/search.id.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.id.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.it.md b/content/posts/search.it.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.it.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.jp.md b/content/posts/search.jp.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.jp.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.ko.md b/content/posts/search.ko.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.ko.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.ru.md b/content/posts/search.ru.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.ru.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/content/posts/search.vn.md b/content/posts/search.vn.md new file mode 100644 index 0000000..4586d1f --- /dev/null +++ b/content/posts/search.vn.md @@ -0,0 +1,54 @@ +--- +title: "Search Results" +date: 2010-06-08T08:06:25+06:00 +weight: 999999 +sitemap: + priority : 0.1 +layout: "search" +url: search +--- + + +This file exists solely to respond to /search URL with the related `search` layout template. + +No content shown here is rendered, all content is based in the template layouts/page/search.html + +Setting a very low sitemap priority will tell search engines this is not important content. + +This implementation uses Fusejs, jquery and mark.js + + +## Initial setup + +Search depends on additional output content type of JSON in config.toml +\``` +[outputs] + home = ["HTML", "JSON"] +\``` + +## Searching additional fileds + +To search additional fields defined in front matter, you must add it in 2 places. + +### Edit layouts/_default/index.JSON +This exposes the values in /index.json +i.e. add `category` +\``` +... + "contents":{{ .Content | plainify | jsonify }} + {{ if .Params.tags }}, + "tags":{{ .Params.tags | jsonify }}{{end}}, + "categories" : {{ .Params.categories | jsonify }}, +... +\``` + +### Edit fuse.js options to Search +`static/js/search.js` +\``` +keys: [ + "title", + "contents", + "tags", + "categories" +] +\``` diff --git a/i18n/bn.toml b/i18n/bn.toml index 781852c..17508ec 100644 --- a/i18n/bn.toml +++ b/i18n/bn.toml @@ -106,3 +106,6 @@ other = "সার্টিফিকেট দেখুন" [notes] other = "নোট সমূহ" + +[disclaimer_text] +other = "দায় বিজ্ঞপ্তি" diff --git a/i18n/cn.toml b/i18n/cn.toml index 0ac0858..1a26020 100644 --- a/i18n/cn.toml +++ b/i18n/cn.toml @@ -109,3 +109,6 @@ other = "查看证书" [notes] other = "笔记" + +[disclaimer_text] +other = "责任通知" diff --git a/i18n/de.toml b/i18n/de.toml index 86c6d54..8583769 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -1,6 +1,6 @@ # More documentation here: https://github.com/nicksnyder/go-i18n [home] -other = "Startseite" +other = "Home" [posts] other = "Beiträge" @@ -18,7 +18,7 @@ other = "Mein Lebenslauf" other = "Navigation" [contact_me] -other = "Kontakt aufnehmen" +other = "Kontaktiere mich:" [email] other = "E-Mail" @@ -30,10 +30,10 @@ other = "Telefon" other = "Mit dem Newsletter auf dem neuesten Stand bleiben" [newsletter_input_placeholder] -other = "E-Mail-Adresse eingeben" +other = "E-Mail Adresse eingeben" [newsletter_warning] -other = "Wir werden Ihre E-Mail-Adresse nicht an Dritte weitergeben." +other = "Wir geben deine E-Mail Adresse nicht an Dritte weiter." [submit] other = "Absenden" @@ -51,61 +51,64 @@ other = "Nächste" other = "Diese Seite verbessern" [out_of] -other = "van de" +other = "aus" [publications] -other = "Publicaties" +other = "Publikationen" [taken_courses] -other = "Cursussen gevolgd" +other = "Belegte Kurse" [course_name] -other = "Cursus naam" +other = "Kursname" [total_credit] -other = "Totaal krediet" +other = "Gesamtguthaben" [obtained_credit] -other = "Krediet verkregen" +other = "Erhaltenes Guthaben" [extracurricular_activities] -other = "Buitenschoolse activiteiten" +other = "Außerschulische Aktivitäten" [show_more] -other = "Bekijk meer" +other = "Mehr anzeigen" [show_less] -other = "Laat minder zien" +other = "Weniger anzeigen" -# [responsibilities] -# other = "Responsibilities:" +[responsibilities] +other = "Verantwortlichkeiten:" -# [present] -# other = "Present" +[present] +other = "heute" -# [comments_javascript] -# other = "Please enable JavaScript to view the" +[comments_javascript] +other = "Bitte aktiviere JavaScript um die Kommentare zu sehen" -# [comments_by] -# other = "comments powered by" +[comments_by] +other = "Kommentare Unterstützt von" -# [read] -# other = "Read" +[read] +other = "Lesen" -# [project_star] -# other = "Star" +[project_star] +other = "Star" -# [project_details] -# other = "Details" +[project_details] +other = "Details" -# [err_404] -# other = "The page you are looking for is not there yet." +[err_404] +other = "Die Seite nach der Seite ist noch nicht vorhanden." [more] -other = "Meer" +other = "Mehr" [view_certificate] -other = "Bekijk certificaat" +other = "Zertifikat ansehen" [notes] -other = "Opmerkingen" +other = "Notizen" + +[disclaimer_text] +other = "Haftungshinweis" diff --git a/i18n/en.toml b/i18n/en.toml index 5b6f88c..564b640 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -109,3 +109,6 @@ other = "View Certificate" [notes] other = "Notes" + +[disclaimer_text] +other = "Liability Notice" diff --git a/i18n/es.toml b/i18n/es.toml index c3ec395..62ed93f 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -109,3 +109,6 @@ other = "Ver Certificado" [notes] other = "Notas" + +[disclaimer_text] +other = "Aviso de responsabilidad" diff --git a/i18n/fr.toml b/i18n/fr.toml index 7e25ca8..8565dd5 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -3,7 +3,7 @@ other = "Accueil" [posts] -other = "Des postes" +other = "Articles" [toc_heading] other = "Table des matières" @@ -89,8 +89,8 @@ other = "Montrer moins" # [comments_by] # other = "comments powered by" -# [read] -# other = "Read" +[read] +other = "Lire" # [project_star] # other = "Star" @@ -109,3 +109,6 @@ other = "Afficher le certificat" [notes] other = "Remarques" + +[disclaimer_text] +other = "Avis de responsabilité" diff --git a/i18n/hi.toml b/i18n/hi.toml index eddf166..e5f4ac9 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -109,3 +109,6 @@ other = "प्रमाणपत्र देखें" [notes] other = "टिप्पणियाँ" + +[disclaimer_text] +other = "दायित्व सूचना" diff --git a/i18n/id.toml b/i18n/id.toml index f884ed2..ff8b61f 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -109,3 +109,6 @@ other = "Lihat Sertifikat" [notes] other = "Catatan" + +[disclaimer_text] +other = "Pemberitahuan Kewajiban" diff --git a/i18n/it.toml b/i18n/it.toml index 3c88173..882a9d5 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -109,3 +109,6 @@ other = "Féach ar an Teastas" [notes] other = "Appunti" + +[disclaimer_text] +other = "Avviso di responsabilità" diff --git a/i18n/jp.toml b/i18n/jp.toml index bcb3fa3..2a1cdac 100644 --- a/i18n/jp.toml +++ b/i18n/jp.toml @@ -106,3 +106,6 @@ other = "ビューの証明書" [notes] other = "ノート" + +[disclaimer_text] +other = "責任通知" diff --git a/i18n/ko.toml b/i18n/ko.toml index 54a03d6..3f90b2d 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -109,3 +109,6 @@ other = "인증서보기" [notes] other = "메모" + +[disclaimer_text] +other = "책임 고지" diff --git a/i18n/nl.toml b/i18n/nl.toml new file mode 100644 index 0000000..41bb2ca --- /dev/null +++ b/i18n/nl.toml @@ -0,0 +1,113 @@ +[home] +other = "Startseite" + +[posts] +other = "Beiträge" + +[toc_heading] +other = "Inhaltsverzeichnis" + +[at] +other = "bei" + +[resume] +other = "Mein Lebenslauf" + +[navigation] +other = "Navigation" + +[contact_me] +other = "Kontakt aufnehmen" + +[email] +other = "E-Mail" + +[phone] +other = "Telefon" + +[newsletter_text] +other = "Mit dem Newsletter auf dem neuesten Stand bleiben" + +[newsletter_input_placeholder] +other = "E-Mail-Adresse eingeben" + +[newsletter_warning] +other = "Wir werden Ihre E-Mail-Adresse nicht an Dritte weitergeben." + +[submit] +other = "Absenden" + +[hugoAttributionText] +other = "Unterstützt von" + +[prev] +other = "Vorherige" + +[next] +other = "Nächste" + +[improve_this_page] +other = "Diese Seite verbessern" + +[out_of] +other = "van de" + +[publications] +other = "Publicaties" + +[taken_courses] +other = "Cursussen gevolgd" + +[course_name] +other = "Cursus naam" + +[total_credit] +other = "Totaal krediet" + +[obtained_credit] +other = "Krediet verkregen" + +[extracurricular_activities] +other = "Buitenschoolse activiteiten" + +[show_more] +other = "Bekijk meer" + +[show_less] +other = "Laat minder zien" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." + +[more] +other = "Meer" + +[view_certificate] +other = "Bekijk certificaat" + +[notes] +other = "Opmerkingen" + +[disclaimer_text] +other = "Haftungshinweis" \ No newline at end of file diff --git a/i18n/ru.toml b/i18n/ru.toml index d20d489..86549ec 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -109,3 +109,6 @@ other = "Просмотреть сертификат" [notes] other = "Ноты" + +[disclaimer_text] +other = "Уведомление об ответственности" diff --git a/i18n/vn.toml b/i18n/vn.toml index 3fb385c..4a03d00 100644 --- a/i18n/vn.toml +++ b/i18n/vn.toml @@ -109,3 +109,6 @@ other = "Xem chứng chỉ" [notes] other = "Ghi chú" + +[disclaimer_text] +other = "Thông báo trách nhiệm" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f733092..de54839 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,13 +4,14 @@ {{ .Page.Title }} {{- partial "header.html" . -}} + {{ template "_internal/opengraph.html" . }} {{ block "header" . }} {{ end }} {{ if site.GoogleAnalytics }} - {{ template "_internal/google_analytics_async.html" . }} + {{ template "_internal/google_analytics.html" . }} {{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index dd0f21b..8367014 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,6 +1,9 @@ {{ define "header" }} + + + {{ end }} {{ define "navbar" }} @@ -16,7 +19,7 @@