hucste
December 8, 2019, 1:37pm
1
Hi, all
I wrote an article to promote some shortcodes, by me, to use with Hugo.
The shortcodes are for:
element HTML abbr
an anchor in same page
citation with element HTML blockquote
a bloc of code
a color of text
displaying a file content
element HTML img differently: image
element HTML kbd
link inside site; two versions: simple v1 , and with params v2
bloc alert/ note for danger, info, success, tips or warning messages
display tag correctly inside the page.
link to the official documentation gohugo , manpage OpenBSD or Wikipedia articles/pages.
http://doc.huc.fr.eu.org/en/web/hugo/hugo-shortcodes/
French: Je propose dans cet article quelques un des mes shortcodes !
(en espérant que ça puisse aider d’autres)
Les shortcodes créés le sont pour :
élément HTML abbr
une ancre dans une même page
une citation avec l’élément HTML blockquote
un bloc de code
une couleur de texte
afficher le contenu d’un exemple de fichier file
élément HTML img différement : image
élément HTML kbd
liens internes au site ; deux versions: la simple v1 , et celles avec des paramètres v2
un bloc d’alerte ou de note pour les messages de type danger, info, success, tips ou warning
afficher correctement un tag à l’intérieur d’une page.
lier vers la documentation gohugo , une page du manuel OpenBSD ou des articles/pages Wikipédia .
http://doc.huc.fr.eu.org/fr/web/hugo/hugo-shortcodes/
My articles:
Deploy with SFTP: EN , FR
Internal search engine with JQueryUI: EN , FR
Internal search engine with JQueryUI and Feed JSON: EN , FR
Feed: Atom, JSON, RSS: FR
Menu nav (simple or dropdown): FR
Hugo on OpenBSD: EN , FR
Hugo: Opensearch: EN , FR
Hugo : Gemini, Gopher… ‘Quoi d’autres ?!’: FR
Hugo : Redirection permanente pour Nginx sous OpenBSD: FR
Enjoy-ID!
Enjoy-IT!
hucste
December 9, 2019, 6:30pm
3
Now, this afternoon, I translate my french articles Hugo into English (most simply possible).
(I hope my english is not very too bad; sorry, if it’s the case)
My english section Hugo: http://doc.huc.fr.eu.org/en/web/hugo
My articles:
Shortcodes: EN , FR
Deploy with SFTP: EN , FR
Internal search engine with JQueryUI: EN , FR
PS : If a modo can rewrite the title of the topic to add EN, as: (EN+FR), it would be nice!
Enjoy-ID!
Enjoy-IT!
If you want someone to review your English content I’m on need of a French translator. Please feel free to message me for opportunity.
maiki
December 10, 2019, 5:34pm
5
@hucste , I made the topic a wiki page, I believe you can edit it now.
hucste
December 18, 2019, 7:06pm
6
A new article in FR, to understand how to create a menu (simple or dropdown) for Hugo.
http://doc.huc.fr.eu.org/fr/web/hugo/hugo-menu-nav/
hucste
January 2, 2020, 10:33pm
7
New article about using Hugo on OpenBSD:
I modify my “Hugo shortcodes” articles to include link to RAW src shortcodes!
hucste
April 15, 2020, 12:47pm
8
Today, I deliver new article about implement Opensearch format description in Hugo!
Hi, I cant modify the first title. Normal? Surprising!
I want to change it by “My shortcodes and others articles (EN, FR)”. If a modo, or admin can… thanks.
Jura
April 15, 2020, 2:33pm
9
Done
Now I’m going to read your article.
hucste
August 25, 2020, 11:24pm
10
Today, I wroted a new article:
iota
August 27, 2020, 6:41am
11
Hi @hucste and thank you for all these articles!
About your last post, it seems like the search is done only in the post titles , do you know a way to extend it to the content too?
By the way, I’m searching since a long time for a solution with these requirements:
no additional package (JS librairies are fine, but as I’m not self-hosting, no npm)
no third party service (exit Google or Algolia)
full-text search
highlight of search terms in the results
optionnal: live display (aka reload as I’m typing)
I’ll be glad if you have any hint
(et merci d’avoir écrit tes articles aussi en français!)
hucste
August 27, 2020, 6:49am
12
Not by title, but by .summary values (= description).
Change the label’s values by get .context_text or .context_html.
{{- $desc := safeHTML .context_text -}}
Me too. And I dont understand why using lunarjs, for instance, if I have yet JQuery.
C’est plutôt l’inverse qu’il faudrait dire : “merci d’en avoir écrit certains en anglais, aussi”.
Le FR est ma langue native
One mode/admin can check. It’s seems I click on button ‘Solution’, unintentionnally. I desire that thread is not locked, please!
hucste
August 27, 2020, 1:00pm
13
Today, I wrote some corrections… and publish the EN version!
iota
August 27, 2020, 7:15pm
14
Thank you, I’ll definitively give a try!
hucste
January 25, 2021, 1:25am
15
Hi, all.
Yesterday, I wroted a new article in French:
To manage in few minutes, the publish for Gemini or Gopher project.
hucste
July 28, 2021, 12:58pm
16
Hi, all.
I write a new article in FR:
hucste
May 15, 2026, 11:40pm
17
⇒ (2026/04/08) French article for the Gemini protocol:
⇒ (2026/05/04) article to get the week number: