📝 docs: remove atom feed filter in script
This commit is contained in:
parent
da3882294c
commit
41c44d3d84
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Optimitza la càrrega amb un subconjunt de font personalitzat"
|
title = "Optimitza la càrrega amb un subconjunt de font personalitzat"
|
||||||
date = 2023-04-29
|
date = 2023-04-29
|
||||||
updated = 2023-05-25
|
updated = 2023-06-22
|
||||||
description = "Aprèn com crear un subconjunt personalitzat que només inclogui els glifs necessaris."
|
description = "Aprèn com crear un subconjunt personalitzat que només inclogui els glifs necessaris."
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
@ -102,7 +102,7 @@ if [ ! -f "$font_file" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Extreu el títol i els noms del menú del fitxer de configuració.
|
# Extreu el títol i els noms del menú del fitxer de configuració.
|
||||||
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"' | grep -v "atom feed")
|
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"')
|
||||||
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
||||||
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Optimiza la carga con un subconjunto de fuente personalizado"
|
title = "Optimiza la carga con un subconjunto de fuente personalizado"
|
||||||
date = 2023-04-29
|
date = 2023-04-29
|
||||||
updated = 2023-05-25
|
updated = 2023-06-22
|
||||||
description = "Aprende cómo crear un subconjunto personalizado que solo incluya los glifos necesarios."
|
description = "Aprende cómo crear un subconjunto personalizado que solo incluya los glifos necesarios."
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
@ -102,7 +102,7 @@ if [ ! -f "$font_file" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Extrae el título y los nombres de los menús del archivo de configuración.
|
# Extrae el título y los nombres de los menús del archivo de configuración.
|
||||||
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"' | grep -v "atom feed")
|
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"')
|
||||||
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
||||||
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
+++
|
+++
|
||||||
title = "Optimise loading times with a custom font subset"
|
title = "Optimise loading times with a custom font subset"
|
||||||
date = 2023-04-29
|
date = 2023-04-29
|
||||||
updated = 2023-05-25
|
updated = 2023-06-22
|
||||||
description = "Learn how to create a custom subset that only includes the necessary glyphs."
|
description = "Learn how to create a custom subset that only includes the necessary glyphs."
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
@ -102,7 +102,7 @@ if [ ! -f "$font_file" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Extract the title and menu names from the config file.
|
# Extract the title and menu names from the config file.
|
||||||
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"' | grep -v "atom feed")
|
title=$(awk -F' = ' '/^title/{print $2}' "$config_file" | tr -d '"')
|
||||||
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
menu_names=$(awk -F' = ' '/^menu/{f=1;next} /socials/{f=0} f && /name/{print $2}' "$config_file" | cut -d',' -f1 | tr -d '"' )
|
||||||
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
language_names=$(awk -F' = ' '/^language_name\./{print $2}' "$config_file" | tr -d '"' )
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user