diff --git a/tag-generator.py b/tag-generator.py index 5fd0a7f..9446aec 100755 --- a/tag-generator.py +++ b/tag-generator.py @@ -13,10 +13,10 @@ No plugins required. import glob import os -post_dir = '_posts/' +post_dir = '_pages/' tag_dir = 'tag/' -filenames = glob.glob(post_dir + '*md') +filenames = glob.glob(post_dir + '*html') total_tags = [] for filename in filenames: @@ -38,7 +38,7 @@ for filename in filenames: f.close() total_tags = set(total_tags) -old_tags = glob.glob(tag_dir + '*.md') +old_tags = glob.glob(tag_dir + '*.html') for tag in old_tags: os.remove(tag) @@ -46,7 +46,7 @@ if not os.path.exists(tag_dir): os.makedirs(tag_dir) for tag in total_tags: - tag_filename = tag_dir + tag + '.md' + tag_filename = tag_dir + tag + '.html' f = open(tag_filename, 'a') write_str = '---\nlayout: tagpage\ntitle: \"Tag: #' + tag + '\"\ntag: \"' + tag + '\"\ndescription: \"Tutti i post del tag: '+ tag +'\"\nrobots: noindex\n---\n' f.write(write_str) diff --git a/tag/agile.html b/tag/agile.html new file mode 100644 index 0000000..4130cb2 --- /dev/null +++ b/tag/agile.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #agile" +tag: "agile" +description: "Tutti i post del tag: agile" +robots: noindex +--- diff --git a/tag/backup.html b/tag/backup.html new file mode 100644 index 0000000..1efb393 --- /dev/null +++ b/tag/backup.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #backup" +tag: "backup" +description: "Tutti i post del tag: backup" +robots: noindex +--- diff --git a/tag/bios.html b/tag/bios.html new file mode 100644 index 0000000..03a8514 --- /dev/null +++ b/tag/bios.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #bios" +tag: "bios" +description: "Tutti i post del tag: bios" +robots: noindex +--- diff --git a/tag/cifratura.html b/tag/cifratura.html new file mode 100644 index 0000000..3335c69 --- /dev/null +++ b/tag/cifratura.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #cifratura" +tag: "cifratura" +description: "Tutti i post del tag: cifratura" +robots: noindex +--- diff --git a/tag/company.html b/tag/company.html new file mode 100644 index 0000000..6cc2ad7 --- /dev/null +++ b/tag/company.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #company" +tag: "company" +description: "Tutti i post del tag: company" +robots: noindex +--- diff --git a/tag/consulenza.html b/tag/consulenza.html new file mode 100644 index 0000000..77fa764 --- /dev/null +++ b/tag/consulenza.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #consulenza" +tag: "consulenza" +description: "Tutti i post del tag: consulenza" +robots: noindex +--- diff --git a/tag/contatti.html b/tag/contatti.html new file mode 100644 index 0000000..630b838 --- /dev/null +++ b/tag/contatti.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #contatti" +tag: "contatti" +description: "Tutti i post del tag: contatti" +robots: noindex +--- diff --git a/tag/data.html b/tag/data.html new file mode 100644 index 0000000..b6b80a7 --- /dev/null +++ b/tag/data.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #data" +tag: "data" +description: "Tutti i post del tag: data" +robots: noindex +--- diff --git a/tag/development.html b/tag/development.html new file mode 100644 index 0000000..3814a15 --- /dev/null +++ b/tag/development.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #development" +tag: "development" +description: "Tutti i post del tag: development" +robots: noindex +--- diff --git a/tag/email.html b/tag/email.html new file mode 100644 index 0000000..f20ee00 --- /dev/null +++ b/tag/email.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #email" +tag: "email" +description: "Tutti i post del tag: email" +robots: noindex +--- diff --git a/tag/formazione.html b/tag/formazione.html new file mode 100644 index 0000000..3d0532a --- /dev/null +++ b/tag/formazione.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #formazione" +tag: "formazione" +description: "Tutti i post del tag: formazione" +robots: noindex +--- diff --git a/tag/freebios.html b/tag/freebios.html new file mode 100644 index 0000000..0860d85 --- /dev/null +++ b/tag/freebios.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #freebios" +tag: "freebios" +description: "Tutti i post del tag: freebios" +robots: noindex +--- diff --git a/tag/freesoftware.html b/tag/freesoftware.html new file mode 100644 index 0000000..4b5b68c --- /dev/null +++ b/tag/freesoftware.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #freesoftware" +tag: "freesoftware" +description: "Tutti i post del tag: freesoftware" +robots: noindex +--- diff --git a/tag/future.html b/tag/future.html new file mode 100644 index 0000000..be37486 --- /dev/null +++ b/tag/future.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #future" +tag: "future" +description: "Tutti i post del tag: future" +robots: noindex +--- diff --git a/tag/gnupg.html b/tag/gnupg.html new file mode 100644 index 0000000..006e0bc --- /dev/null +++ b/tag/gnupg.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #gnupg" +tag: "gnupg" +description: "Tutti i post del tag: gnupg" +robots: noindex +--- diff --git a/tag/hardening.html b/tag/hardening.html new file mode 100644 index 0000000..2b4004b --- /dev/null +++ b/tag/hardening.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #hardening" +tag: "hardening" +description: "Tutti i post del tag: hardening" +robots: noindex +--- diff --git a/tag/hardware.html b/tag/hardware.html new file mode 100644 index 0000000..c7abb9a --- /dev/null +++ b/tag/hardware.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #hardware" +tag: "hardware" +description: "Tutti i post del tag: hardware" +robots: noindex +--- diff --git a/tag/informatica.html b/tag/informatica.html new file mode 100644 index 0000000..3eb550c --- /dev/null +++ b/tag/informatica.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #informatica" +tag: "informatica" +description: "Tutti i post del tag: informatica" +robots: noindex +--- diff --git a/tag/libreboot.html b/tag/libreboot.html new file mode 100644 index 0000000..f3c9e9e --- /dev/null +++ b/tag/libreboot.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #libreboot" +tag: "libreboot" +description: "Tutti i post del tag: libreboot" +robots: noindex +--- diff --git a/tag/licenses.html b/tag/licenses.html new file mode 100644 index 0000000..0138665 --- /dev/null +++ b/tag/licenses.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #licenses" +tag: "licenses" +description: "Tutti i post del tag: licenses" +robots: noindex +--- diff --git a/tag/media.html b/tag/media.html new file mode 100644 index 0000000..1f9fdf7 --- /dev/null +++ b/tag/media.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #media" +tag: "media" +description: "Tutti i post del tag: media" +robots: noindex +--- diff --git a/tag/mission.html b/tag/mission.html new file mode 100644 index 0000000..a969e27 --- /dev/null +++ b/tag/mission.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #mission" +tag: "mission" +description: "Tutti i post del tag: mission" +robots: noindex +--- diff --git a/tag/nodrm.html b/tag/nodrm.html new file mode 100644 index 0000000..ec83762 --- /dev/null +++ b/tag/nodrm.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #nodrm" +tag: "nodrm" +description: "Tutti i post del tag: nodrm" +robots: noindex +--- diff --git a/tag/planning.html b/tag/planning.html new file mode 100644 index 0000000..03ae6c9 --- /dev/null +++ b/tag/planning.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #planning" +tag: "planning" +description: "Tutti i post del tag: planning" +robots: noindex +--- diff --git a/tag/projects.html b/tag/projects.html new file mode 100644 index 0000000..efde95a --- /dev/null +++ b/tag/projects.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #projects" +tag: "projects" +description: "Tutti i post del tag: projects" +robots: noindex +--- diff --git a/tag/rights.html b/tag/rights.html new file mode 100644 index 0000000..307f052 --- /dev/null +++ b/tag/rights.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #rights" +tag: "rights" +description: "Tutti i post del tag: rights" +robots: noindex +--- diff --git a/tag/security.html b/tag/security.html new file mode 100644 index 0000000..45d631e --- /dev/null +++ b/tag/security.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #security" +tag: "security" +description: "Tutti i post del tag: security" +robots: noindex +--- diff --git a/tag/servizi.html b/tag/servizi.html new file mode 100644 index 0000000..0e4d80f --- /dev/null +++ b/tag/servizi.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #servizi" +tag: "servizi" +description: "Tutti i post del tag: servizi" +robots: noindex +--- diff --git a/tag/sicurezza.html b/tag/sicurezza.html new file mode 100644 index 0000000..2d921ee --- /dev/null +++ b/tag/sicurezza.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #sicurezza" +tag: "sicurezza" +description: "Tutti i post del tag: sicurezza" +robots: noindex +--- diff --git a/tag/social.html b/tag/social.html new file mode 100644 index 0000000..c989eea --- /dev/null +++ b/tag/social.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #social" +tag: "social" +description: "Tutti i post del tag: social" +robots: noindex +--- diff --git a/tag/software.html b/tag/software.html new file mode 100644 index 0000000..a114dc4 --- /dev/null +++ b/tag/software.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #software" +tag: "software" +description: "Tutti i post del tag: software" +robots: noindex +--- diff --git a/tag/team.html b/tag/team.html new file mode 100644 index 0000000..396a74f --- /dev/null +++ b/tag/team.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #team" +tag: "team" +description: "Tutti i post del tag: team" +robots: noindex +--- diff --git a/tag/unitoo.html b/tag/unitoo.html new file mode 100644 index 0000000..532a4fe --- /dev/null +++ b/tag/unitoo.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #unitoo" +tag: "unitoo" +description: "Tutti i post del tag: unitoo" +robots: noindex +--- diff --git a/tag/vision.html b/tag/vision.html new file mode 100644 index 0000000..fbf5474 --- /dev/null +++ b/tag/vision.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #vision" +tag: "vision" +description: "Tutti i post del tag: vision" +robots: noindex +--- diff --git a/tag/work.html b/tag/work.html new file mode 100644 index 0000000..b724690 --- /dev/null +++ b/tag/work.html @@ -0,0 +1,7 @@ +--- +layout: tagpage +title: "Tag: #work" +tag: "work" +description: "Tutti i post del tag: work" +robots: noindex +---