diff --git a/config.php b/config.php index dc688f3..237e309 100644 --- a/config.php +++ b/config.php @@ -34,4 +34,5 @@ $rcc = 'no'; $nav_drawer = 'yes'; // Set here the name of your theme. Read the documentation for more themes $theme = 'material-light'; -?> +// Set here your language. The file must exist in the lang directory +$language = "en"; \ No newline at end of file diff --git a/index.php b/index.php index b5f4917..81d69cd 100644 --- a/index.php +++ b/index.php @@ -27,6 +27,7 @@ THE SOFTWARE. "; - echo ""; + echo ""; $blogs = scandir("./blogs/"); foreach ($blogs as $blog) { if (strlen($blog) >= 3 && substr($blog, -3) == ".md") { @@ -183,12 +184,12 @@ THE SOFTWARE.
- +
- +
diff --git a/lang/en.php b/lang/en.php new file mode 100644 index 0000000..d7418fd --- /dev/null +++ b/lang/en.php @@ -0,0 +1,7 @@ +