Add ALT text to images

Correct static methods
Tidy up code
This commit is contained in:
Michał Gdula 2023-03-11 22:14:03 +00:00
parent e192554a0b
commit 3ee287d6e3
23 changed files with 427 additions and 430 deletions

View file

@ -8,7 +8,7 @@ from datetime import datetime
import sass
class CompileTheme():
class CompileTheme:
"""
Compiles the theme into the static folder
"""
@ -33,7 +33,8 @@ class CompileTheme():
now = datetime.now()
print(f"{now.hour}:{now.minute}:{now.second} - Done!\n")
def load_sass(self, source_path, css_dest):
@staticmethod
def load_sass(source_path, css_dest):
"""
Compile the sass (or scss) file into css and save it to the static folder
"""
@ -54,7 +55,8 @@ class CompileTheme():
print("Compiled successfully!")
def load_fonts(self, source_path, font_dest):
@staticmethod
def load_fonts(source_path, font_dest):
"""
Copy the fonts folder to the static folder
"""