diff --git a/archetypes/tutorial.md b/archetypes/tutorial.md index 9139f7c..63ea9ee 100644 --- a/archetypes/tutorial.md +++ b/archetypes/tutorial.md @@ -16,7 +16,7 @@ series: - categories: - -image: +image: images/postImages/Processor.svg --- # Introduction @@ -39,3 +39,10 @@ image: ## Full Code <++> + +{{< tabs "<++>">}} + {{< tab >}} +<++> +{{< /tab >}} +{{< /tabs >}} + diff --git a/content/en/posts/directory_cleanup.md b/content/en/posts/directory_cleanup.md index fa5f6ff..ee9441a 100644 --- a/content/en/posts/directory_cleanup.md +++ b/content/en/posts/directory_cleanup.md @@ -152,7 +152,9 @@ To test the script, you should add/create files with any extensions in the same Thats it! You have yourself a cleanup script that you can use to clean any directory you want! The full code is below, do take a look if you are facing any problems! ## Full Code -{{< expand "Python Code" >}} + +{{< tabs directory_cleanup.py>}} + {{< tab >}} ``` python #!/usr/bin/env python @@ -211,7 +213,8 @@ def main(): if __name__ == "__main__": main() ``` -{{< /expand >}} + {{< /tab >}} +{{< /tabs >}} # Credits diff --git a/static/images/postImages/Processor.svg b/static/images/postImages/Processor.svg new file mode 100644 index 0000000..8545813 --- /dev/null +++ b/static/images/postImages/Processor.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +image/svg+xmlOpenclipartdsp2010-12-15T18:09:59Digital Signal Processor (stylized).http://openclipart.org/detail/100837/dsp-by-pgbrandolinpgbrandolinDSPchipclip artclipartcomputerprocessor