Skip to content

Commit

Permalink
Merge pull request #445 from GetPublii/0.34.1
Browse files Browse the repository at this point in the history
0.34.1
  • Loading branch information
dziudek authored May 11, 2019
2 parents cd2d7b4 + 3161cca commit f21cffb
Show file tree
Hide file tree
Showing 17 changed files with 168 additions and 118 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[Publii](https://getpublii.com/) is a desktop-based CMS for Windows, Mac and Linux that makes creating static websites fast
and hassle-free, even for beginners.

**Current version: 0.34.0 (build 11726)**
**Current version: 0.34.1 (build 11733)**

## Why Publii?
Unlike static-site generators that are often unwieldy and difficult to use, Publii provides an
Expand Down
2 changes: 1 addition & 1 deletion app/back-end/builddata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"0.34.0","build":11726,"status":"Beta"}
{"version":"0.34.1","build":11733,"status":"Beta"}
4 changes: 2 additions & 2 deletions app/back-end/modules/render-html/helpers/sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class Sitemap {
* Retrieves media path for the website
*/
getMediaPath (postObject) {
return this.siteConfig.domain + '/' + path.join('media', 'posts', (postObject.id).toString());
return this.siteConfig.domain + '/' + path.join('media', 'posts', (postObject.id).toString()) + '/';
}

/**
Expand Down Expand Up @@ -450,7 +450,7 @@ class Sitemap {
this.fileList.push({
images: this.postData[file].images,
lastMod: this.postData[file].lastMod,
url: file
url: file + '/'
});
} else {
this.fileList.push(file + '/');
Expand Down
81 changes: 47 additions & 34 deletions app/default-files/default-themes/simple/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -791,48 +791,44 @@ textarea {
position: relative;
text-transform: uppercase;
width: auto; }
.navbar .navbar__menu li a {
.navbar .navbar__menu li a,
.navbar .navbar__menu li span[aria-haspopup="true"] {
color: #FFFFFF;
display: block;
padding: 0 0.56667rem;
-webkit-transition: all 0.24s ease-out;
-o-transition: all 0.24s ease-out;
transition: all 0.24s ease-out; }
.navbar .navbar__menu li a:active, .navbar .navbar__menu li a:focus, .navbar .navbar__menu li a:hover {
.navbar .navbar__menu li a:active, .navbar .navbar__menu li a:focus, .navbar .navbar__menu li a:hover,
.navbar .navbar__menu li span[aria-haspopup="true"]:active,
.navbar .navbar__menu li span[aria-haspopup="true"]:focus,
.navbar .navbar__menu li span[aria-haspopup="true"]:hover {
color: rgba(255, 255, 255, 0.7); }
.navbar .navbar__menu li span {
color: #FFFFFF;
cursor: default;
display: block;
padding: 0 0.56667rem; }
.navbar .navbar__menu > li:hover > a,
.navbar .navbar__menu > li:hover > span {
.navbar .navbar__menu > li:hover > span[aria-haspopup="true"] {
color: rgba(255, 255, 255, 0.7); }
.navbar .has-submenu:active > .navbar__submenu,
.navbar .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu:hover > .navbar__submenu {
left: 0; }
@media all and (min-width: 56.25em) {
.navbar .has-submenu:active > .navbar__submenu,
.navbar .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu:hover > .navbar__submenu {
opacity: 1;
-webkit-transform-origin: 0 top;
-ms-transform-origin: 0 top;
transform-origin: 0 top;
-webkit-transform: none;
-ms-transform: none;
transform: none;
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
-o-transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1), -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
visibility: visible; } }
left: 0;
opacity: 1;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
visibility: visible; }
.navbar .has-submenu:active > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:focus > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:hover > .navbar__submenu.is-right-submenu {
left: auto;
right: 0; }
right: 0;
-webkit-transform-origin: right top;
-ms-transform-origin: right top;
transform-origin: right top; }
.navbar .has-submenu .has-submenu:active > .navbar__submenu,
.navbar .has-submenu .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu .has-submenu:hover > .navbar__submenu {
Expand All @@ -851,26 +847,43 @@ textarea {
padding: 10px 0;
position: absolute;
white-space: nowrap;
z-index: 1; }
@media all and (min-width: 56.25em) {
.navbar .navbar__submenu {
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8); } }
z-index: 1;
opacity: 0;
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: 0 top;
-ms-transform-origin: 0 top;
transform-origin: 0 top;
-webkit-transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
-o-transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1), -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1); }
.navbar .navbar__submenu__submenu {
z-index: 2; }
.navbar .navbar__submenu li {
line-height: 1.5;
font-size: 0.7242rem; }
.navbar .navbar__submenu li a {
color: rgba(255, 255, 255, 0.7);
padding: 0.56667rem 1.41667rem; }
.navbar .navbar__submenu li a:active, .navbar .navbar__submenu li a:focus, .navbar .navbar__submenu li a:hover {
.navbar .navbar__submenu li a,
.navbar .navbar__submenu li span[aria-haspopup="true"] {
color: rgba(255, 255, 255, 0.7) !important;
padding: 0.56667rem 1.41667rem;
-webkit-transition: all 0.24s ease;
-o-transition: all 0.24s ease;
transition: all 0.24s ease; }
.navbar .navbar__submenu li a:active, .navbar .navbar__submenu li a:focus, .navbar .navbar__submenu li a:hover,
.navbar .navbar__submenu li span[aria-haspopup="true"]:active,
.navbar .navbar__submenu li span[aria-haspopup="true"]:focus,
.navbar .navbar__submenu li span[aria-haspopup="true"]:hover {
background: rgba(255, 255, 255, 0.05);
color: #FFFFFF; }
color: #FFFFFF !important; }
.navbar .navbar__submenu li span {
color: rgba(255, 255, 255, 0.7);
color: rgba(255, 255, 255, 0.7) !important;
padding: 0.56667rem 1.41667rem; }
.navbar .navbar__submenu li:hover > a,
.navbar .navbar__submenu li:hover > span[aria-haspopup="true"] {
color: #FFFFFF !important; }
.navbar .navbar__toggle {
background: #17181E;
-webkit-box-shadow: none;
Expand Down
114 changes: 67 additions & 47 deletions app/default-files/default-themes/simple/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -791,48 +791,44 @@ textarea {
position: relative;
text-transform: uppercase;
width: auto; }
.navbar .navbar__menu li a {
.navbar .navbar__menu li a,
.navbar .navbar__menu li span[aria-haspopup="true"] {
color: #FFFFFF;
display: block;
padding: 0 0.56667rem;
-webkit-transition: all 0.24s ease-out;
-o-transition: all 0.24s ease-out;
transition: all 0.24s ease-out; }
.navbar .navbar__menu li a:active, .navbar .navbar__menu li a:focus, .navbar .navbar__menu li a:hover {
.navbar .navbar__menu li a:active, .navbar .navbar__menu li a:focus, .navbar .navbar__menu li a:hover,
.navbar .navbar__menu li span[aria-haspopup="true"]:active,
.navbar .navbar__menu li span[aria-haspopup="true"]:focus,
.navbar .navbar__menu li span[aria-haspopup="true"]:hover {
color: rgba(255, 255, 255, 0.7); }
.navbar .navbar__menu li span {
color: #FFFFFF;
cursor: default;
display: block;
padding: 0 0.56667rem; }
.navbar .navbar__menu > li:hover > a,
.navbar .navbar__menu > li:hover > span {
.navbar .navbar__menu > li:hover > span[aria-haspopup="true"] {
color: rgba(255, 255, 255, 0.7); }
.navbar .has-submenu:active > .navbar__submenu,
.navbar .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu:hover > .navbar__submenu {
left: 0; }
@media all and (min-width: 56.25em) {
.navbar .has-submenu:active > .navbar__submenu,
.navbar .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu:hover > .navbar__submenu {
opacity: 1;
-webkit-transform-origin: 0 top;
-ms-transform-origin: 0 top;
transform-origin: 0 top;
-webkit-transform: none;
-ms-transform: none;
transform: none;
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
-o-transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1), -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
visibility: visible; } }
left: 0;
opacity: 1;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
visibility: visible; }
.navbar .has-submenu:active > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:focus > .navbar__submenu.is-right-submenu,
.navbar .has-submenu:hover > .navbar__submenu.is-right-submenu {
left: auto;
right: 0; }
right: 0;
-webkit-transform-origin: right top;
-ms-transform-origin: right top;
transform-origin: right top; }
.navbar .has-submenu .has-submenu:active > .navbar__submenu,
.navbar .has-submenu .has-submenu:focus > .navbar__submenu,
.navbar .has-submenu .has-submenu:hover > .navbar__submenu {
Expand All @@ -851,26 +847,43 @@ textarea {
padding: 10px 0;
position: absolute;
white-space: nowrap;
z-index: 1; }
@media all and (min-width: 56.25em) {
.navbar .navbar__submenu {
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8); } }
z-index: 1;
opacity: 0;
-webkit-transform: scale(0.8);
-ms-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: 0 top;
-ms-transform-origin: 0 top;
transform-origin: 0 top;
-webkit-transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
-o-transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1);
transition: opacity 0.15s, transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1), -webkit-transform 0.3s cubic-bezier(0.275, 1.375, 0.8, 1); }
.navbar .navbar__submenu__submenu {
z-index: 2; }
.navbar .navbar__submenu li {
line-height: 1.5;
font-size: 0.7242rem; }
.navbar .navbar__submenu li a {
color: rgba(255, 255, 255, 0.7);
padding: 0.56667rem 1.41667rem; }
.navbar .navbar__submenu li a:active, .navbar .navbar__submenu li a:focus, .navbar .navbar__submenu li a:hover {
.navbar .navbar__submenu li a,
.navbar .navbar__submenu li span[aria-haspopup="true"] {
color: rgba(255, 255, 255, 0.7) !important;
padding: 0.56667rem 1.41667rem;
-webkit-transition: all 0.24s ease;
-o-transition: all 0.24s ease;
transition: all 0.24s ease; }
.navbar .navbar__submenu li a:active, .navbar .navbar__submenu li a:focus, .navbar .navbar__submenu li a:hover,
.navbar .navbar__submenu li span[aria-haspopup="true"]:active,
.navbar .navbar__submenu li span[aria-haspopup="true"]:focus,
.navbar .navbar__submenu li span[aria-haspopup="true"]:hover {
background: rgba(255, 255, 255, 0.05);
color: #FFFFFF; }
color: #FFFFFF !important; }
.navbar .navbar__submenu li span {
color: rgba(255, 255, 255, 0.7);
color: rgba(255, 255, 255, 0.7) !important;
padding: 0.56667rem 1.41667rem; }
.navbar .navbar__submenu li:hover > a,
.navbar .navbar__submenu li:hover > span[aria-haspopup="true"] {
color: #FFFFFF !important; }
.navbar .navbar__toggle {
background: #17181E;
-webkit-box-shadow: none;
Expand Down Expand Up @@ -2000,31 +2013,38 @@ img[data-sizes="auto"] {
}
.navbar .navbar__menu li a:active,
.navbar .navbar__menu li a:focus,
.navbar .navbar__menu li a:hover {
.navbar .navbar__menu li a:hover,
.navbar .navbar__menu li span[aria-haspopup="true"]:active,
.navbar .navbar__menu li span[aria-haspopup="true"]:focus,
.navbar .navbar__menu li span[aria-haspopup="true"]:hover {
color: rgba(255,255,255,0.7);
}

.navbar .navbar__menu > li:hover > a,
.navbar .navbar__menu > li:hover > span {
color: rgba(255,255,255,0.7);
}

.search__btn:hover > svg,
.search__btn:focus > svg {
fill: rgba(255,255,255,0.7);
}
.navbar .navbar__submenu li a {
.navbar .navbar__menu > li:hover > span[aria-haspopup="true"] {
color: rgba(255,255,255,0.7);
}
.navbar .navbar__submenu li a,
.navbar .navbar__submenu li span[aria-haspopup="true"] {
color: rgba(255,255,255,0.7) !important;
}

.navbar .navbar__submenu li span {
color: rgba(255,255,255,0.7);
color: rgba(255,255,255,0.7) !important;
}
.navbar .navbar__submenu li a:active,
.navbar .navbar__submenu li a:focus,
.navbar .navbar__submenu li a:hover {
.navbar .navbar__submenu li a:hover,
.navbar .navbar__submenu li span[aria-haspopup="true"]:active,
.navbar .navbar__submenu li span[aria-haspopup="true"]:focus,
.navbar .navbar__submenu li span[aria-haspopup="true"]:hover {
background: rgba(255,255,255,0.05);
color: #FFFFFF;
color: #FFFFFF !important;
}

.navbar .navbar__submenu li:hover > a,
.navbar .navbar__submenu li:hover > span[aria-haspopup="true"] {
color: #FFFFFF !important;
}
.hero__image--overlay::after {
background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.64) 100%);
Expand Down
2 changes: 1 addition & 1 deletion app/default-files/default-themes/simple/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Simple",
"version": "2.0.0.0",
"version": "2.0.1.0",
"author": "TidyCustoms <https://tidycustoms.net/>",
"menus": {
"mainMenu": "Main menu"
Expand Down
2 changes: 1 addition & 1 deletion app/default-files/default-themes/simple/partials/menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</span>
</button>
{{/unless}}
<ul{{#if level}} class="navbar__submenu" aria-hidden="true" {{else}} class="navbar__menu"{{/if}}>
<ul{{#if level}} class="navbar__submenu level-{{level}}" aria-hidden="true" {{else}} class="navbar__menu"{{/if}}>
{{#each items}}
<li{{menuItemClasses}}>
{{#if link}}
Expand Down
Loading

0 comments on commit f21cffb

Please sign in to comment.