(Grav GitSync) Automatic Commit from dan
This commit is contained in:
parent
29c40548a3
commit
e1dfdfdf97
7 changed files with 57 additions and 2 deletions
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
title: 'DNSCrypt now available on DIGITAL PRIVACY .DIY + IPv6'
|
||||||
|
author: Dan
|
||||||
|
published: true
|
||||||
|
date: '21-06-2024 08:22'
|
||||||
|
taxonomy:
|
||||||
|
category:
|
||||||
|
- news
|
||||||
|
tag:
|
||||||
|
- 'DIGITAL PRIVACY'
|
||||||
|
- dnscrypt
|
||||||
|
- ipv6
|
||||||
|
- dns
|
||||||
|
- encryption
|
||||||
|
aura:
|
||||||
|
author: dan
|
||||||
|
---
|
||||||
|
|
||||||
|
So this move has also been completed!
|
||||||
|
|
||||||
|
Already listed at https://dnscrypt.info/public-servers/ but this time with IPv6.
|
||||||
|
|
||||||
|
Everything is already updated:
|
||||||
|
* [Server](https://wiki.digitalprivacy.diy/en/server/services/dnscrypt)
|
||||||
|
* [Phone](https://wiki.digitalprivacy.diy/en/phone/apps/invizible-pro)
|
||||||
|
* [Desktop](https://wiki.digitalprivacy.diy/en/desktop/services/dnscrypt)
|
||||||
|
|
||||||
|
> techsaviours.org dnscrypt will be still maintained and available until 25 Oct 24.
|
|
@ -1,3 +1,11 @@
|
||||||
|
# v5.1.0
|
||||||
|
## 06/17/24
|
||||||
|
|
||||||
|
1. [](#new)
|
||||||
|
* Added page-level `lastmod` options [#113](https://github.com/getgrav/grav-plugin-sitemap/pull/113)
|
||||||
|
1. [](#improved)
|
||||||
|
* Updated README.md with page override options.
|
||||||
|
|
||||||
# v5.0.0
|
# v5.0.0
|
||||||
## 10/05/2023
|
## 10/05/2023
|
||||||
|
|
||||||
|
|
|
@ -76,6 +76,17 @@ sitemap:
|
||||||
ignore: true
|
ignore: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Overrides
|
||||||
|
|
||||||
|
You can override several elements of the sitemap entry for the page in the page's header. For example, as well as `ignore` mentioned above, these are available:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
sitemap:
|
||||||
|
lastmod: # e.g. '2024-04-17'
|
||||||
|
changefreq: # always| hourly | daily: | weekly | monthly | yearly | never
|
||||||
|
priority: # 0.1 -> 1.0
|
||||||
|
```
|
||||||
|
|
||||||
## Multi-Language Support
|
## Multi-Language Support
|
||||||
|
|
||||||
The latest Sitemap `v3.0` includes all new multi-language support utilizing the latest [Google Search SEO Recomendations](https://developers.google.com/search/docs/advanced/crawling/localized-versions?hl=en&visit_id=637468720624267418-280936473&rd=2) which creates bi-directional `hreflang` entries for each language available.
|
The latest Sitemap `v3.0` includes all new multi-language support utilizing the latest [Google Search SEO Recomendations](https://developers.google.com/search/docs/advanced/crawling/localized-versions?hl=en&visit_id=637468720624267418-280936473&rd=2) which creates bi-directional `hreflang` entries for each language available.
|
||||||
|
@ -98,6 +109,7 @@ https://yoursite.com/blog/sitemap-news.xml
|
||||||
|
|
||||||
You can change the "News Path" to be something other than `sitemap-news.xml` if you wish.
|
You can change the "News Path" to be something other than `sitemap-news.xml` if you wish.
|
||||||
|
|
||||||
|
|
||||||
## Images
|
## Images
|
||||||
|
|
||||||
You can add images to the sitemap by adding an entry in the page's Frontmatter.
|
You can add images to the sitemap by adding an entry in the page's Frontmatter.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Sitemap
|
name: Sitemap
|
||||||
type: plugin
|
type: plugin
|
||||||
slug: sitemap
|
slug: sitemap
|
||||||
version: 5.0.0
|
version: 5.1.0
|
||||||
description: "Provide automatically generated **XML sitemaps** with this very useful, as a simple to configure Grav plugin."
|
description: "Provide automatically generated **XML sitemaps** with this very useful, as a simple to configure Grav plugin."
|
||||||
icon: map-marker
|
icon: map-marker
|
||||||
author:
|
author:
|
||||||
|
|
|
@ -25,6 +25,11 @@ form:
|
||||||
type: bool
|
type: bool
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
header.sitemap.lastmod:
|
||||||
|
type: datetime
|
||||||
|
label: PLUGIN_SITEMAP.HEADER_LASTMOD
|
||||||
|
default: ''
|
||||||
|
|
||||||
header.sitemap.changefreq:
|
header.sitemap.changefreq:
|
||||||
type: select
|
type: select
|
||||||
label: PLUGIN_SITEMAP.HEADER_CHANGEFREQ
|
label: PLUGIN_SITEMAP.HEADER_CHANGEFREQ
|
||||||
|
|
|
@ -2,6 +2,7 @@ en:
|
||||||
PLUGIN_SITEMAP:
|
PLUGIN_SITEMAP:
|
||||||
SITEMAP: 'Sitemap'
|
SITEMAP: 'Sitemap'
|
||||||
HEADER_IGNORE: 'Sitemap ignore page'
|
HEADER_IGNORE: 'Sitemap ignore page'
|
||||||
|
HEADER_LASTMOD: 'Sitemap Last Modified'
|
||||||
HEADER_CHANGEFREQ: 'Sitemap Change Frequency'
|
HEADER_CHANGEFREQ: 'Sitemap Change Frequency'
|
||||||
HEADER_PRIORITY: 'Sitemap priority'
|
HEADER_PRIORITY: 'Sitemap priority'
|
||||||
CHANGEFREQ: 'Global - Sitemap Change Frequency'
|
CHANGEFREQ: 'Global - Sitemap Change Frequency'
|
||||||
|
|
|
@ -310,6 +310,7 @@ class SitemapPlugin extends Plugin
|
||||||
$include_lang = $this->multilang_skiplang_prefix !== $lang;
|
$include_lang = $this->multilang_skiplang_prefix !== $lang;
|
||||||
$location = $page->canonical($include_lang);
|
$location = $page->canonical($include_lang);
|
||||||
$url = $page->url(false, $include_lang);
|
$url = $page->url(false, $include_lang);
|
||||||
|
$lastmod = !empty($header->sitemap['lastmod']) ? strtotime($header->sitemap['lastmod']) : $page->modified();
|
||||||
|
|
||||||
$lang_route = [
|
$lang_route = [
|
||||||
'title' => $page->title(),
|
'title' => $page->title(),
|
||||||
|
@ -318,7 +319,7 @@ class SitemapPlugin extends Plugin
|
||||||
'lang' => $lang,
|
'lang' => $lang,
|
||||||
'translated' => in_array($lang, $page_languages),
|
'translated' => in_array($lang, $page_languages),
|
||||||
'location' => $location,
|
'location' => $location,
|
||||||
'lastmod' => date($this->datetime_format, $page->modified()),
|
'lastmod' => date($this->datetime_format, $lastmod),
|
||||||
'longdate' => date('Y-m-d\TH:i:sP', $page->date()),
|
'longdate' => date('Y-m-d\TH:i:sP', $page->date()),
|
||||||
'shortdate' => date('Y-m-d', $page->date()),
|
'shortdate' => date('Y-m-d', $page->date()),
|
||||||
'timestamp' => $page->date(),
|
'timestamp' => $page->date(),
|
||||||
|
|
Loading…
Reference in a new issue