mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
ignore build latest pages
This commit is contained in:
parent
f46d6c61db
commit
e6ec57e576
2 changed files with 4 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,7 +1,9 @@
|
||||||
**/converted/
|
**/converted/
|
||||||
sources/*/converted
|
sources/*/converted
|
||||||
sources/generated_wp2org_output
|
|
||||||
sources/**/converted
|
sources/**/converted
|
||||||
|
/sources/*/build/
|
||||||
|
/sources/**/build/
|
||||||
|
sources/generated_wp2org_output
|
||||||
sources/*/lang_*/converted
|
sources/*/lang_*/converted
|
||||||
sources/**/*.html
|
sources/**/*.html
|
||||||
index_*.html
|
index_*.html
|
||||||
|
|
|
@ -24,7 +24,7 @@ echo "" > "$output_orgfile_list_billets"
|
||||||
> "sources/$dossier/build/latests_posts.org"
|
> "sources/$dossier/build/latests_posts.org"
|
||||||
|
|
||||||
# Récupération des derniers billets
|
# Récupération des derniers billets
|
||||||
for file in $(ls -rt sources/$dossier/lang_fr/*.org | head -n $count_derniers_billets); do
|
for file in $(ls -nr sources/$dossier/lang_fr/*.org | head -n $count_derniers_billets); do
|
||||||
cat "$file" >> "sources/$dossier/build/latests_posts.org"
|
cat "$file" >> "sources/$dossier/build/latests_posts.org"
|
||||||
echo "" >> "sources/$dossier/build/latests_posts.org" # Ajout d'une ligne vide entre les billets
|
echo "" >> "sources/$dossier/build/latests_posts.org" # Ajout d'une ligne vide entre les billets
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue