_layouts/default.html in jekyll-theme-windows95-0.3.1 vs _layouts/default.html in jekyll-theme-windows95-0.4.0

- old
+ new

@@ -16,46 +16,46 @@ <link rel="icon" href="{{ "/assets/img/favicon.ico" | relative_url }}" type="image/x-icon"> <script src="{{ "/assets/js/highlight.pack.js" | relative_url }}"></script> <script>hljs.initHighlightingOnLoad();</script> </head> <body> - <div class="wrapper"> - {% if page.title or page.title == 'me' %} - <div class="page_title"> - {% else %} - <div class="default_title"> - {% endif %} + <div class="wrapper window"> + <div class="window_title"> <img src="{{ "/assets/img/mycomputer.png" | relative_url }}" /> {% if page.tag %} - <h1>{{ page.tag }}</h1> + <h1>{{ site.title }} - {{ page.tag }}</h1> {% else %} <h1>{{ site.title }}</h1> {% endif %} </div> {% include topbar.html %} <div class="tag_list"> <ul id="tag-list"> - <li><a href="/" ><img src="{{ "/assets/img/disk.png" | relative_url }}" />(C:)</a> - <ul> - {% assign tags = site.tags | sort %} - {% for tag in tags %} - <li><a href="{{ site.baseurl }}/tag/{{ tag | first | slugify }}/" title="{{ tag[0] | replace:'-', ' ' }}"><img src="{{ "/assets/img/folder.ico" | relative_url }}" />{{ tag[0] | replace:'-', ' ' }}</a></li> - {% endfor %} - </ul> + <li> + <a href="{{ site.baseurl }}/" ><img src="{{ "/assets/img/disk.png" | relative_url }}" />(C:)</a> + <ul> + {% assign tags = site.tags | sort %} + {% for tag in tags %} + <li><a href="{{ site.baseurl }}/tag/{{ tag | first | slugify }}/" title="{{ tag[0] | replace:'-', ' ' }}"><img src="{{ "/assets/img/folder.ico" | relative_url }}" />{{ tag[0] | replace:'-', ' ' }}</a></li> + {% endfor %} + </ul> + <a href="{{ site.baseurl }}/all" ><img src="{{ "/assets/img/briefcase.png" | relative_url }}" />All</a> </li> </ul> </div> <div class="post_list"> - {% unless page.date%} - {% if page.title == 'me' or page.title == '404...' %} + {% unless page.date %} + {% if page.title == '404...' %} <ul> {% for post in site.posts %} - <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li> + <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li> {% endfor %} </ul> {% else %} - {{ content }} + <div class="intro"> + {{ content }} + </div> {% endif %} {% else %} <ul> {% for post in site.posts %} <li><a href="{{ post.url }}" title="{{ post.title }}"><img src="{{ "/assets/img/file.ico" | relative_url }}" title="{{ post.title }}" />{{ post.title }}</a></li> @@ -71,14 +71,14 @@ {% endif %} <div class="right">&nbsp;</div> </div> </div> {% if page.title %} - <div class="content"> - <div class="post_title"> + <div class="content window"> + <div class="window_title"> <img src="{{ "/assets/img/file.png" | relative_url }}" /> <h1>{{ page.title }}</h1> - <a href="/"><div class="btn"><span class="fa fa-times"></span></div></a> + <a href="{{ site.baseurl }}/"><div class="btn"><span class="fa fa-times"></span></div></a> <div class="btn btn_max"><span class="fa fa-window-maximize"></span></div> <div class="btn"><span class="fa fa-window-minimize"></span></div> </div> <ul class="topbar"> <li>{{ page.date | date: '%B %-d, %Y' }}</li> \ No newline at end of file