1
0
mirror of https://github.com/picocms/pico-theme.git synced 2025-08-23 00:33:01 +02:00

14 Commits

Author SHA1 Message Date
Daniel Rudolf
b648e937f0 Update to API version 4 2023-01-05 22:58:52 +01:00
Daniel Rudolf
f322a0bbdd Don't justify contents by default
Justifying contents is discouraged in general, but furthermore produces some really ugly lines with Pico's sample contents
2022-04-03 16:56:31 +02:00
Daniel Rudolf
da7abf9f0d Update CHANGELOG.md 2022-03-13 12:17:33 +01:00
Daniel Rudolf
64b82faaf4 CI: Update Stale Bot config 2022-03-13 12:02:41 +01:00
Daniel Rudolf
a78f7b7cef Merge branch 'pico-3.0-alpha' into pico-3.0 2022-02-27 17:04:18 +01:00
Daniel Rudolf
7bbcd913e6 Merge branch 'master' into pico-3.0 2022-02-27 16:43:26 +01:00
Daniel Rudolf
ca9360aa22 Update various links 2022-02-27 16:38:18 +01:00
Daniel Rudolf
65e6f70dbd Improve Twig syntax 2022-02-07 00:02:19 +01:00
Daniel Rudolf
b5c3371f33 Update footer 2022-02-07 00:02:08 +01:00
Daniel Rudolf
ec00ed0422 Bump to API version 4 2022-02-07 00:01:32 +01:00
Maya McDougall
7eabd4cfb9 Fallback to page.id if no page.title
- Fix for #4.
- Hiding pages without titles wasn't really an intended behavior.
2021-11-09 09:28:48 -05:00
Daniel Rudolf
780b9484f1 IRC: Switch from Freenode to Libera.Chat 2021-08-13 17:20:43 +02:00
Daniel Rudolf
cb01f6c60c Add GitHub Action to mark and close stale issues 2021-03-09 13:45:51 +01:00
Daniel Rudolf
9018a67f89 Update to Twig 3.0 2020-04-11 21:14:28 +02:00
9 changed files with 70 additions and 23 deletions

33
.github/workflows/stale.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Mark or close stale issues and PRs
on:
schedule:
- cron: "0 */6 * * *"
jobs:
stale:
name: Mark or close stale issues and PRs
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
days-before-stale: 7
days-before-close: 2
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in two days if no further activity
occurs. Thank you for your contributions! :+1:
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed in two days if no further activity
occurs. Thank you for your contributions! :+1:
stale-pr-label: "info: Stale"
stale-issue-label: "info: Stale"
exempt-issue-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
exempt-pr-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
remove-stale-when-updated: true

View File

@@ -8,6 +8,18 @@ Pico Default Theme Changelog
refer to both the UPGRADE and NEWS sections of the docs for more
details.
### Version 3.0.0-beta.1
Released: -
```
* [New] Update to API version 4 (no changes necessary)
* [Changed] Include non-hidden pages without a title in the navigation menu;
use the page ID as fallback for the missing page title
* [Changed] Don't justify text contents by default
* [Changed] Update syntax to Twig 3.3
* [Changed] Update credits in theme footer
```
### Version 3.0.0-alpha.2
Released: 2020-12-24

View File

@@ -3,7 +3,7 @@ Pico Default Theme
This is the repository of Pico's official default theme.
Pico is a stupidly simple, blazing fast, flat file CMS. See http://picocms.org/ for more info.
Pico is a stupidly simple, blazing fast, flat file CMS. See https://picocms.org/ for more info.
Please refer to [`picocms/Pico`](https://github.com/picocms/Pico) to get info about how to contribute or getting help.
@@ -46,8 +46,8 @@ Social:
- title: Visit us on GitHub
url: https://github.com/picocms/Pico
icon: octocat
- title: Join us on Freenode IRC Webchat
url: https://webchat.freenode.net/?channels=%23picocms
- title: Join us on Libera.Chat
url: https://web.libera.chat/#picocms
icon: chat
---
```

View File

@@ -3,7 +3,7 @@
"type": "pico-theme",
"description": "This is Pico's official default theme. Pico is a stupidly simple, blazing fast, flat file CMS.",
"keywords": [ "pico", "picocms", "picocms-theme", "pico-theme", "default-theme" ],
"homepage": "http://picocms.org/",
"homepage": "https://picocms.org/",
"license": "MIT",
"authors": [
{
@@ -13,7 +13,7 @@
},
{
"name": "The Pico Community",
"homepage": "http://picocms.org/"
"homepage": "https://picocms.org/"
},
{
"name": "Contributors",
@@ -21,7 +21,7 @@
}
],
"support": {
"docs": "http://picocms.org/themes/default/",
"docs": "https://picocms.org/themes/default/",
"issues": "https://github.com/picocms/pico-theme/issues",
"source": "https://github.com/picocms/pico-theme"
},

View File

@@ -9,8 +9,8 @@
*
* @author Gilbert Pellegrom
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @link https://picocms.org
* @license https://opensource.org/licenses/MIT The MIT License
* @version 3.0
*/
@@ -185,7 +185,6 @@ body {
}
p, td, th, li, dd {
text-align: justify;
overflow-wrap: break-word;
word-wrap: break-word;
}

View File

@@ -6,7 +6,7 @@ Icon fonts generator
Author: Vitaly Puzrin
License: The MIT License <https://github.com/fontello/fontello/blob/master/LICENSE>
Homepage: http://fontello.com/
Homepage: https://fontello.com/
@@ -17,7 +17,7 @@ Font license info
Copyright (C) 2016 by Dave Gandy
Author: Dave Gandy
License: SIL OFL 1.1 <http://scripts.sil.org/OFL>
Homepage: http://fortawesome.github.com/Font-Awesome/
License: SIL OFL 1.1 <https://scripts.sil.org/OFL>
Homepage: https://fontawesome.com/
Icons: chat, github-circled ("octocat"), menu, dollar

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}</title>
<title>{{ meta.title ? meta.title ~ " | " }}{{ site_title }}</title>
{% if meta.description %}
<meta name="description" content="{{ meta.description|striptags }}" />
{% endif %}
@@ -43,10 +43,12 @@
</div>
<div id="nav" role="navigation" tabindex="-1">
<ul>
{% for page in pages(depthOffset=-1) if page.title and not page.hidden %}
<li{% if page.id == current_page.id %} class="active"{% endif %}>
<a href="{{ page.url }}">{{ page.title }}</a>
</li>
{% for page in pages(depthOffset=-1) %}
{% if not page.hidden %}
<li{% if page.id == current_page.id %} class="active"{% endif %}>
<a href="{{ page.url }}">{{ page.title ?: page.id }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
@@ -70,8 +72,9 @@
{% endfor %}
</div>
<p>
<a href="http://picocms.org/">Pico</a> was made by <a href="http://gilbert.pellegrom.me">Gilbert Pellegrom</a>
and is maintained by <a href="https://github.com/picocms/Pico/graphs/contributors">The Pico Community</a>.
<a href="https://picocms.org/">Pico</a> was made by <a href="https://gilbitron.me/">Gilbert Pellegrom</a>
and is brought to you by <a href="https://www.daniel-rudolf.de">Daniel Rudolf</a> and
<a href="https://github.com/picocms/Pico/graphs/contributors">The Pico Community</a>.
Released under the <a href="https://github.com/picocms/Pico/blob/master/LICENSE.md">MIT license</a>.
</p>
</div>

View File

@@ -4,8 +4,8 @@
* Pico is a stupidly simple, blazing fast, flat file CMS.
*
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @link https://picocms.org
* @license https://opensource.org/licenses/MIT The MIT License
* @version 3.0
*/

View File

@@ -4,8 +4,8 @@
* Pico is a stupidly simple, blazing fast, flat file CMS.
*
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @link https://picocms.org
* @license https://opensource.org/licenses/MIT The MIT License
* @version 3.0
*/