mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2024-12-25 16:14:50 +00:00
Merge remote-tracking branch 'base/hugo' into hugo
This commit is contained in:
commit
d9899fc833
2
.github/workflows/deploy.yaml
vendored
2
.github/workflows/deploy.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Build Link Index
|
||||
uses: jackyzha0/hugo-obsidian@v2.18
|
||||
uses: jackyzha0/hugo-obsidian@v2.20
|
||||
with:
|
||||
index: true
|
||||
input: content
|
||||
|
@ -117,7 +117,7 @@ const resultToHTML = ({ url, title, content }) => {
|
||||
const redir = (id, term) => {
|
||||
const shouldTrim = PRODUCTION && SEARCH_ENABLED
|
||||
const baseURLPrefix = shouldTrim ? "" : BASE_URL.replace(/\/$/g, "")
|
||||
const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}/`
|
||||
const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}`
|
||||
window.Million.navigate(
|
||||
new URL(urlString),
|
||||
".singlePage",
|
||||
|
@ -114,6 +114,10 @@ blockquote[class*="-callout"] > p:first-child {
|
||||
}
|
||||
}
|
||||
|
||||
blockquote[class*="-callout"] > p:empty {
|
||||
padding: 1.2em 35px;
|
||||
}
|
||||
|
||||
$summary: summary, abstract, tldr;
|
||||
$bug: bug;
|
||||
$danger: danger, error;
|
||||
|
12
i18n/fr.toml
12
i18n/fr.toml
@ -2,7 +2,7 @@
|
||||
other = "Hey ! Vous semblez perdu‧e. Cette page n'existe pas (ou est privée)."
|
||||
|
||||
[404_back]
|
||||
other = "↳ On va te faire retourner à l'accueil"
|
||||
other = "↳ Clique ici pour retourner sur la page d'accueil"
|
||||
|
||||
[all_posts]
|
||||
other = "Tout {{.Title}}"
|
||||
@ -14,7 +14,7 @@ other = "Dernière modification"
|
||||
other = "notes avec ce tag"
|
||||
|
||||
[first_10]
|
||||
other = "affichant les 10 premiers résultats"
|
||||
other = "les 10 premiers résultats"
|
||||
|
||||
[tag]
|
||||
other = "Tag"
|
||||
@ -35,7 +35,7 @@ other = "Mode Clair"
|
||||
other = "Mode Sombre"
|
||||
|
||||
[edit_source]
|
||||
other = "Editer la source"
|
||||
other = "Modifier la source"
|
||||
|
||||
[interactive_graph]
|
||||
other = "Graphique interactif"
|
||||
@ -44,16 +44,16 @@ other = "Graphique interactif"
|
||||
other = "Rechercher"
|
||||
|
||||
[search_icon]
|
||||
other = "Icône de recherche"
|
||||
other = "l'icône de recherche"
|
||||
|
||||
[icon_search]
|
||||
other = "Icon pour ouvrir la recherche"
|
||||
other = "L'icône pour ouvrir la recherche"
|
||||
|
||||
[recent_notes]
|
||||
other = "Notes récentes"
|
||||
|
||||
[first_3_notes]
|
||||
other = "3 premières {{ .notes }}"
|
||||
other = "les 3 premières {{ .notes }}"
|
||||
|
||||
[search_for_something]
|
||||
other = "Rechercher quelque-chose..."
|
||||
|
@ -1,5 +1,4 @@
|
||||
<script
|
||||
async
|
||||
src="https://cdn.jsdelivr.net/npm/d3@6.7.0/dist/d3.min.js"
|
||||
integrity="sha256-+7jaYCp29O1JusNWHaYtgUn6EhuP0VaFuswhNV06MyI="
|
||||
crossorigin="anonymous"
|
||||
|
@ -71,11 +71,11 @@
|
||||
|
||||
{{partial "mermaid.html" .}}
|
||||
|
||||
<script async src="https://unpkg.com/@floating-ui/core@0.7.3"></script>
|
||||
<script async src="https://unpkg.com/@floating-ui/dom@0.5.4"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@floating-ui/core@1.2.1"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@floating-ui/dom@1.2.1"></script>
|
||||
{{ $popover := resources.Get "js/popover.js" | resources.Fingerprint "md5" |
|
||||
resources.Minify }}
|
||||
<script async src="{{$popover.Permalink}}"></script>
|
||||
<script defer src="{{$popover.Permalink}}"></script>
|
||||
|
||||
<!-- Optional scripts -->
|
||||
{{ if $data.enableCodeBlockTitle | default $.Site.Data.config.enableCallouts }}
|
||||
|
Loading…
Reference in New Issue
Block a user