Skip to content

Commit

Permalink
Merge branch 'v.0.42' of https://github.com/GetPublii/Publii into v.0.42
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek committed Mar 21, 2023
2 parents 8900961 + 35a7a7b commit a7faa2e
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 18 deletions.
2 changes: 2 additions & 0 deletions app/default-files/default-themes/simple/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2042,6 +2042,7 @@
{
"name": "displayPostList",
"label": "Display post list",
"note": "Disabling the post list can cause duplicate content issues. To avoid this, please disable authors pagination in the SEO section of your site settings.",
"value": 1,
"type": "select",
"options": [
Expand Down Expand Up @@ -2108,6 +2109,7 @@
{
"name": "displayPostList",
"label": "Display post list",
"note": "Disabling the post list can cause duplicate content issues. To avoid this, please disable tag pagination in the SEO section of your site settings.",
"value": 1,
"type": "select",
"options": [
Expand Down
9 changes: 8 additions & 1 deletion app/default-files/default-themes/simple/partials/head.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,14 @@
</style>
{{/is}}
{{/checkIf}}
{{/checkIf}}
{{/checkIf}}
<noscript>
<style>
img[loading] {
opacity: 1;
}
</style>
</noscript>
{{{@headCustomCode}}}
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion app/src/components/AuthorForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,6 @@ export default {
}
.note {
margin-top: 2rem;
position: relative;
z-index: 1;
}
Expand Down
4 changes: 4 additions & 0 deletions app/src/components/MenuPositionPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ export default {
position: relative;
text-align: center;
top: 1px;
.button.button-disabled {
border-top: 1px solid var(--input-border-color);
}
}
.menu-position-items {
Expand Down
1 change: 0 additions & 1 deletion app/src/components/TagForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,6 @@ export default {
}
.note {
margin-top: 2rem;
position: relative;
z-index: 1;
}
Expand Down
15 changes: 0 additions & 15 deletions app/src/components/post-editor/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -909,21 +909,6 @@ export default {
}
}
.note {
clear: both;
color: var(--text-light-color);
display: block;
font-style: italic;
font-weight: var(--font-weight-normal);
line-height: 1.4;
padding-top: .5rem;
&.is-warning {
color: var(--warning);
opacity: 1;
}
}
.switcher-item-icon-helper {
margin: 0 .5rem;
position: relative;
Expand Down
15 changes: 15 additions & 0 deletions app/src/scss/options-sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,19 @@
.msg {
font-size: 1.3rem;
}

.note {
clear: both;
color: var(--text-light-color);
display: block;
font-style: italic;
font-weight: var(--font-weight-normal);
line-height: 1.4;
padding-top: .5rem;

&.is-warning {
color: var(--warning);
opacity: 1;
}
}
}

0 comments on commit a7faa2e

Please sign in to comment.