diff --git a/README.md b/README.md deleted file mode 100644 index da0c3bc..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# simple_blog diff --git a/common/get_month_name.php b/common/get_month_name.php index eaf67f5..17bbf18 100644 --- a/common/get_month_name.php +++ b/common/get_month_name.php @@ -1,4 +1,5 @@
- , tag.le != '' )){ if ( document.getElementsByTagName('h1').length !== 0){ document.title = document.getElementsByTagName('h1')[0].innerText; } - //detect if the page contains code blocks to be highlighted and loads the prisim.js and prism.css files to accomplish this. + //Detect if the page contains code blocks to be highlighted and loads the + //prisim.js and prism.css files if codeblocks are found. code_tag = document.getElementsByTagName('code').length; if ( code_tag !== 0 ){ var script = document.createElement('script'); @@ -15,11 +17,14 @@ function format_page(){//Set the title of the page based on the main header,