Skip to content

Commit

Permalink
Added language links
Browse files Browse the repository at this point in the history
  • Loading branch information
frzb committed Jan 13, 2025
1 parent fd0326c commit f4eee69
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion input/templates/template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,13 @@
</style>
</head>
<body class="bg-slate-100 font-ubuntu font-normal">
<!-- Language Links -->
<div class="max-w-4xl mx-auto top-3 right-3 space-x-2 text-right">
<a href="./index.html" class="no-underline">🇬🇧 English</a>
<a href="./index_de.html" class="no-underline">🇩🇪 Deutsch</a>
</div>
<!-- Main Container -->
<div class="max-w-4xl mx-auto sm:p-6 p-3 bg-white shadow-lg rounded-lg m-10">
<div class="max-w-4xl mx-auto sm:p-6 p-3 bg-white shadow-lg rounded-lg mt-5 mb-10">
<!-- Parent Container -->
<div class="flex flex-col sm:flex-row gap-4">
<!-- Left Column (First on Mobile, First on Desktop) -->
Expand Down
2 changes: 0 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def __init__(self, include_private_data):

def create_output(self):
for file in os.listdir("./input"):
print(file)
if file.endswith(".json"):
name = f"_{os.path.splitext(os.path.basename(file))[0]}"
data = self.load_data(f"./input/{file}", self.include_private_data)
Expand Down Expand Up @@ -58,7 +57,6 @@ def merge_dicts(self, dict1, dict2):
def load_data(self, file, include_private_data=False):
try:
# Load the updated resume data from the JSON file
print(file)
with open(file) as json_file:
resume_data = json.load(json_file)
if include_private_data:
Expand Down
2 changes: 1 addition & 1 deletion static/css/tailwind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4eee69

Please sign in to comment.