Skip to content

Commit c1fc1bd

Browse files
author
Hyperconnect DevRel
committed
Sync @ 2022-06-24-09-13
1 parent 4e493af commit c1fc1bd

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

_posts/2022-04-19-AWS-GameDay-Know-Hows.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
date: 2022-04-19
44
title: AWS 대회 2관왕한 사람이 푸는 우승 Know-Hows
55
author: james.b
6-
tags: security AWS Gameday ctf
6+
tags: security aws Gameday ctf
77
excerpt: AWS Gameday 에 참가해 우승했던 후기를 공유합니다.
88
last_modified_at: 2022-04-19
99
---

tag/AWS.md

-6
This file was deleted.
File renamed without changes.

tag/GCP.md renamed to tag/gcp.md

File renamed without changes.

tag/GCS.md renamed to tag/gcs.md

File renamed without changes.

tag/iOS.md renamed to tag/ios.md

File renamed without changes.

tag_generator.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import glob
1212
import os
13-
13+
import os.path
1414

1515
def tag_generator(post_dir, tag_dir):
1616
filenames = glob.glob(post_dir + '*md')
@@ -44,7 +44,10 @@ def tag_generator(post_dir, tag_dir):
4444
os.makedirs(tag_dir)
4545

4646
for tag in total_tags:
47-
tag_filename = tag_dir + tag + '.md'
47+
tag_filename = tag_dir + tag.lower() + '.md'
48+
if os.path.isfile(tag_filename):
49+
print(f"{tag} 대소문자 중복")
50+
exit(1)
4851
f = open(tag_filename, 'a')
4952
write_str = f'---\nlayout: tagpage\ntitle: \"Tag: {tag}\"\ntag: {tag}\nrobots: noindex\n---\n'
5053
f.write(write_str)

0 commit comments

Comments
 (0)