Merge pull request #1 from bocan/pre-commit
style: Add pre-commit checks to fix whitespace
This commit is contained in:
commit
b38cfac0ca
|
@ -104,7 +104,7 @@ body:
|
|||
id: terms
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/adityatelange/hugo-PaperMod?tab=coc-ov-file#readme).
|
||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/adityatelange/hugo-PaperMod?tab=coc-ov-file#readme).
|
||||
options:
|
||||
- label: I agree to follow this project's Code of Conduct
|
||||
required: true
|
||||
|
|
|
@ -16,17 +16,17 @@ body:
|
|||
id: what_happened
|
||||
attributes:
|
||||
label: What you'd like to propose?
|
||||
description:
|
||||
placeholder:
|
||||
description:
|
||||
placeholder:
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/adityatelange/hugo-PaperMod?tab=coc-ov-file#readme).
|
||||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/adityatelange/hugo-PaperMod?tab=coc-ov-file#readme).
|
||||
options:
|
||||
- label: I agree to follow this project's Code of Conduct
|
||||
required: true
|
||||
validations:
|
||||
required: true
|
||||
required: true
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: mixed-line-ending
|
||||
args: ['--fix=lf']
|
File diff suppressed because one or more lines are too long
|
@ -17,7 +17,7 @@
|
|||
|
||||
- id: translations
|
||||
translation: "ترجمات أخرى"
|
||||
|
||||
|
||||
- id: home
|
||||
translation: "الصفحة الرئيسية"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
translation:
|
||||
one : "১ মিনিট"
|
||||
other: "{{ .Count }} মিনিট"
|
||||
|
||||
|
||||
- id: words
|
||||
translation:
|
||||
one : "১ টি শব্দ"
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
translation: "αντιγραφή"
|
||||
|
||||
- id: code_copied
|
||||
translation: "αντιγράφηκε!"
|
||||
translation: "αντιγράφηκε!"
|
||||
|
|
|
@ -25,4 +25,4 @@
|
|||
translation: "کپی"
|
||||
|
||||
- id: code_copied
|
||||
translation: "کپی شد!"
|
||||
translation: "کپی شد!"
|
||||
|
|
|
@ -30,4 +30,4 @@
|
|||
translation: "salin"
|
||||
|
||||
- id: code_copied
|
||||
translation: "disalin!"
|
||||
translation: "disalin!"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
- id: translations
|
||||
translation: "Traduções"
|
||||
|
||||
|
||||
- id: home
|
||||
translation: "Início"
|
||||
|
||||
|
|
|
@ -36,4 +36,4 @@
|
|||
translation: "копировать"
|
||||
|
||||
- id: code_copied
|
||||
translation: "скопировано!"
|
||||
translation: "скопировано!"
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
translation: "копіювати"
|
||||
|
||||
- id: code_copied
|
||||
translation: "скопійовано!"
|
||||
translation: "скопійовано!"
|
||||
|
|
39
i18n/uz.yaml
39
i18n/uz.yaml
|
@ -1,20 +1,19 @@
|
|||
- id: prev_page
|
||||
translation: "Oldingi sahifa"
|
||||
|
||||
- id: next_page
|
||||
translation: "Keyingi sahifa"
|
||||
|
||||
- id: read_time
|
||||
translation:
|
||||
one : "Bir daqiqa"
|
||||
other: "{{ .Count }} daqiqa"
|
||||
|
||||
- id: toc
|
||||
translation: "Mundarija"
|
||||
|
||||
- id: translations
|
||||
translation: "Tarjimalar"
|
||||
|
||||
- id: home
|
||||
translation: "Bosh sahifa"
|
||||
|
||||
- id: prev_page
|
||||
translation: "Oldingi sahifa"
|
||||
|
||||
- id: next_page
|
||||
translation: "Keyingi sahifa"
|
||||
|
||||
- id: read_time
|
||||
translation:
|
||||
one : "Bir daqiqa"
|
||||
other: "{{ .Count }} daqiqa"
|
||||
|
||||
- id: toc
|
||||
translation: "Mundarija"
|
||||
|
||||
- id: translations
|
||||
translation: "Tarjimalar"
|
||||
|
||||
- id: home
|
||||
translation: "Bosh sahifa"
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
- id: prev_page
|
||||
translation: "上一頁"
|
||||
|
||||
- id: next_page
|
||||
translation: "下一頁"
|
||||
|
||||
- id: read_time
|
||||
translation:
|
||||
one : "1 分鐘"
|
||||
other: "{{ .Count }} 分鐘"
|
||||
|
||||
- id: words
|
||||
translation:
|
||||
one: "字"
|
||||
other: "{{ .Count }} 字"
|
||||
|
||||
- id: toc
|
||||
translation: "目錄"
|
||||
|
||||
- id: translations
|
||||
translation: "語言"
|
||||
|
||||
- id: home
|
||||
translation: "首頁"
|
||||
|
||||
- id: edit_post
|
||||
translation: "編輯"
|
||||
|
||||
- id: code_copy
|
||||
translation: "複製"
|
||||
|
||||
- id: code_copied
|
||||
translation: "已複製!"
|
||||
- id: prev_page
|
||||
translation: "上一頁"
|
||||
|
||||
- id: next_page
|
||||
translation: "下一頁"
|
||||
|
||||
- id: read_time
|
||||
translation:
|
||||
one : "1 分鐘"
|
||||
other: "{{ .Count }} 分鐘"
|
||||
|
||||
- id: words
|
||||
translation:
|
||||
one: "字"
|
||||
other: "{{ .Count }} 字"
|
||||
|
||||
- id: toc
|
||||
translation: "目錄"
|
||||
|
||||
- id: translations
|
||||
translation: "語言"
|
||||
|
||||
- id: home
|
||||
translation: "首頁"
|
||||
|
||||
- id: edit_post
|
||||
translation: "編輯"
|
||||
|
||||
- id: code_copy
|
||||
translation: "複製"
|
||||
|
||||
- id: code_copied
|
||||
translation: "已複製!"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
other: "{{ .Count }} 分钟"
|
||||
|
||||
- id: words
|
||||
translation:
|
||||
translation:
|
||||
one: "字"
|
||||
other: "{{ .Count }} 字"
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
{{- if (ge $cover.Width $size) -}}
|
||||
{{ printf "%s %s" (($cover.Resize (printf "%sx" $size)).Permalink) (printf "%sw ," $size) -}}
|
||||
{{ end }}
|
||||
{{- end -}}{{$cover.Permalink }} {{printf "%dw" ($cover.Width)}}"
|
||||
sizes="(min-width: 768px) 720px, 100vw" src="{{ $cover.Permalink }}" alt="{{ $alt }}"
|
||||
{{- end -}}{{$cover.Permalink }} {{printf "%dw" ($cover.Width)}}"
|
||||
sizes="(min-width: 768px) 720px, 100vw" src="{{ $cover.Permalink }}" alt="{{ $alt }}"
|
||||
width="{{ $cover.Width }}" height="{{ $cover.Height }}">
|
||||
{{- else }}{{/* Unprocessable image or responsive images disabled */}}
|
||||
<img loading="{{$loading}}" src="{{ (path.Join .RelPermalink .Params.cover.image) | absURL }}" alt="{{ $alt }}">
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<!-- raw html -->
|
||||
{{- .Inner -}}
|
||||
{{- .Inner -}}
|
||||
|
|
Loading…
Reference in New Issue