diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..17c0123ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# Jekyll Generated Files +_site/ +.jekyll-cache + +# Mac +.DS_Store diff --git a/README.md b/README.md index 0a5e5a1cd..90e104a7e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Windows 95 Theme for Jekyll -![ss](https://github.com/h01000110/windows-95/raw/gh-pages/screenshot_2.png) +![Screen shot of website](assets/img/ScreenshotWithIcons.png) Homepage: [Windows 95](https://h01000110.github.io/20170917/windows-95) diff --git a/_config.yml b/_config.yml index d6079a046..e230e7f9b 100644 --- a/_config.yml +++ b/_config.yml @@ -1,13 +1,14 @@ permalink: /:year:month:day/:title -url: #Your url here -baseurl: /project +# When testing locally, leave "url:" blank or use http://localhost:4000 +url: # Your URL Here +# When testing locally, leave "baseurl:" blank +baseurl: -# variables +# Variables name: Your Site Name description: Your description here google_verification: null - # File management include: [".htaccess"] exclude: ["README.md", "LICENSE"] @@ -20,6 +21,8 @@ sass: # Markdown markdown: kramdown kramdown: - input: GFM + # Defaults to GFM according to the docs: + # https://jekyllrb.com/docs/configuration/markdown/ + # input: GFM syntax_highlighter_opts: - disable : true \ No newline at end of file + disable : true diff --git a/_data/tags.yml b/_data/tags.yml index 7759dca20..2a889bb6c 100644 --- a/_data/tags.yml +++ b/_data/tags.yml @@ -9,3 +9,6 @@ tag3: tag4: name: tag4 + +icons: + name: icons diff --git a/_includes/post-type-ico-file.html b/_includes/post-type-ico-file.html new file mode 100644 index 000000000..afbfdd26c --- /dev/null +++ b/_includes/post-type-ico-file.html @@ -0,0 +1,16 @@ +{% comment %} + (*.ico is large icon in top window) + DEFAULT ASSIGN FILE ICON IF NONE ASSIGNED. + IF STATEMENT FOR EACH TYPE OTHER THAN DEFAULT "FILE.ICO" +{% endcomment %} + +{% assign img_src = "/assets/img/file.ico" %} +{% if post.filetype == "image" %} + {% assign img_src = "/assets/img/image.ico" %} +{% elsif post.filetype == "image2" %} + {% assign img_src = "/assets/img/image2.ico" %} +{% elsif post.filetype == "creation" %} + {% assign img_src = "/assets/img/creation.ico" %} +{% elsif post.filetype == "music" %} + {% assign img_src = "/assets/img/music.ico" %} +{% endif %} diff --git a/_includes/post-type-png-file.html b/_includes/post-type-png-file.html new file mode 100644 index 000000000..aa96af30b --- /dev/null +++ b/_includes/post-type-png-file.html @@ -0,0 +1,17 @@ +{% comment %} + (*.png is small icon in the bottom window title bar) + DEFAULT ASSIGN FILE ICON IF NONE ASSIGNED. + IF STATEMENT FOR EACH TYPE OTHER THAN DEFAULT "FILE.PNG" +{% endcomment %} + +{% assign img_src = "/assets/img/file.png" %} +{% if page.filetype == "image" %} + {% assign img_src = "/assets/img/image.png" %} +{% elsif page.filetype == "image2" %} + {% assign img_src = "/assets/img/image2.png" %} +{% elsif page.filetype == "creation" %} + {% assign img_src = "/assets/img/creation.png" %} +{% elsif page.filetype == "music" %} + {% assign img_src = "/assets/img/music.png" %} +{% endif %} + diff --git a/_includes/show-all-posts.html b/_includes/show-all-posts.html new file mode 100644 index 000000000..e400fcd92 --- /dev/null +++ b/_includes/show-all-posts.html @@ -0,0 +1,9 @@ +