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

3 Commits

Author SHA1 Message Date
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
7 changed files with 35 additions and 21 deletions

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

@@ -0,0 +1,28 @@
name: "Mark or close stale issues and PRs"
on:
schedule:
- cron: "0 12 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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,13 +8,6 @@ Pico Default Theme Changelog
refer to both the UPGRADE and NEWS sections of the docs for more
details.
### Version 3.0.0-alpha.2
Released: 2020-12-24
```
* [Changed] Merge all fixes of Pico v2.1.2 to v2.1.4
```
### Version 2.1.4
Released: 2020-08-29
@@ -32,13 +25,6 @@ Released: 2020-04-10
No changes
### Version 3.0.0-alpha.1
Released: 2020-03-29
```
* [New] Kick-start development of Pico 3.0
```
### Version 2.1.1
Released: 2019-12-31

View File

@@ -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

@@ -11,7 +11,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 3.0
* @version 2.1
*/
* {

View File

@@ -43,9 +43,9 @@
</div>
<div id="nav" role="navigation" tabindex="-1">
<ul>
{% for page in pages(depthOffset=-1) if page.title and not page.hidden %}
{% 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 }}</a>
<a href="{{ page.url }}">{{ page.title ?: page.id }}</a>
</li>
{% endfor %}
</ul>

View File

@@ -6,7 +6,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 3.0
* @version 2.1
*/
function main()

View File

@@ -6,7 +6,7 @@
* @author Daniel Rudolf
* @link http://picocms.org
* @license http://opensource.org/licenses/MIT The MIT License
* @version 3.0
* @version 2.1
*/
utils = {};