GNU bug report logs - #43803
website: theme: Allow adding noindex meta element to pages.

Previous Next

Package: guix-patches;

Reported by: Luis Felipe <luis.felipe.la <at> protonmail.com>

Date: Sun, 4 Oct 2020 21:08:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43803 in the body.
You can then email your comments to 43803 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Sun, 04 Oct 2020 21:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luis Felipe <luis.felipe.la <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 04 Oct 2020 21:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: website: theme: Allow adding noindex meta element to pages.
Date: Sun, 04 Oct 2020 21:07:17 +0000
[Message part 1 (text/plain, inline)]
Hi, this is to allow some pages to tell search engines not to list them in search results. For example, the paginated pages of the package list and blog posts.

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
[Message part 2 (text/html, inline)]
[0001-website-theme-Allow-adding-noindex-meta-element-to-p.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Mon, 05 Oct 2020 13:19:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Luis Felipe via Guix-patches via <guix-patches <at> gnu.org>
Cc: 43803 <at> debbugs.gnu.org, Luis Felipe <luis.felipe.la <at> protonmail.com>
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element
 to pages.
Date: Mon, 05 Oct 2020 15:18:07 +0200
Hello,

> +                (noindex? #false)

You can use #f instead.

This means that indexing will be disabled for every single page?

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Mon, 05 Oct 2020 13:19:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Mon, 05 Oct 2020 13:41:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 43803 <at> debbugs.gnu.org, luis.felipe.la <at> protonmail.com, guix-patches <at> gnu.org
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element
 to pages.
Date: Mon, 05 Oct 2020 15:41:53 +0200
Mathieu Othacehe <othacehe <at> gnu.org> writes:

>> +                (noindex? #false)
>
> You can use #f instead.

I gotta say that I do prefer #false and think that using it elsewhere in
Guix would be nice.  Yes, #f is shorter, but there’s something nice
about the readability of #false.  We don’t usually abbreviate other
things in Scheme (cf “call-with-current-continuation”), so #false would
feel right at home :)

-- 
Ricardo




Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Mon, 05 Oct 2020 13:41:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Mon, 05 Oct 2020 18:42:01 GMT) Full text and rfc822 format available.

Message #20 received at 43803 <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: "43803 <at> debbugs.gnu.org" <43803 <at> debbugs.gnu.org>
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element to
 pages.
Date: Mon, 05 Oct 2020 18:41:32 +0000
[Message part 1 (text/plain, inline)]
Sorry, I sent an answer only to Othacehe by mistake. Here it is again.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, October 5, 2020 1:18 PM, Mathieu Othacehe <othacehe <at> gnu.org> wrote:

> Hello,
>
> > -                  (noindex? #false)
> >
> >
>
> You can use #f instead.

Yes, I know :)


> This means that indexing will be disabled for every single page?

No. But, now that I read your question I'm confused by the keyword. So how about renaming it to "index?". Patch attached.
[0001-website-theme-Allow-adding-the-noindex-meta-element-.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Tue, 06 Oct 2020 07:10:02 GMT) Full text and rfc822 format available.

Message #23 received at 43803 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Luis Felipe <luis.felipe.la <at> protonmail.com>
Cc: "43803 <at> debbugs.gnu.org" <43803 <at> debbugs.gnu.org>
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element
 to pages.
Date: Tue, 06 Oct 2020 09:08:59 +0200
Hello,

> * website/apps/base/templates/theme.scm (theme): New parameter INDEX?

Sounds fine, thanks!

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#43803; Package guix-patches. (Wed, 14 Oct 2020 09:27:01 GMT) Full text and rfc822 format available.

Message #26 received at 43803 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, luis.felipe.la <at> protonmail.com,
 43803 <at> debbugs.gnu.org
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element
 to pages.
Date: Wed, 14 Oct 2020 11:26:13 +0200
Hi,

Ricardo Wurmus <rekado <at> elephly.net> skribis:

> I gotta say that I do prefer #false and think that using it elsewhere in
> Guix would be nice.  Yes, #f is shorter, but there’s something nice
> about the readability of #false.  We don’t usually abbreviate other
> things in Scheme (cf “call-with-current-continuation”), so #false would
> feel right at home :)

Seconded!  I think at some point we should do a pass to replace as many
#t/#f as possible, especially in the manual and cookbook.

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 22 Oct 2020 14:53:02 GMT) Full text and rfc822 format available.

Notification sent to Luis Felipe <luis.felipe.la <at> protonmail.com>:
bug acknowledged by developer. (Thu, 22 Oct 2020 14:53:02 GMT) Full text and rfc822 format available.

Message #31 received at 43803-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Luis Felipe <luis.felipe.la <at> protonmail.com>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>,
 "43803 <at> debbugs.gnu.org" <43803-done <at> debbugs.gnu.org>
Subject: Re: [bug#43803] website: theme: Allow adding noindex meta element
 to pages.
Date: Thu, 22 Oct 2020 16:52:16 +0200
Hi,

Luis Felipe <luis.felipe.la <at> protonmail.com> skribis:

> From 367ce04bf6c1d138eff6c678df536328e60cdb7e Mon Sep 17 00:00:00 2001
> From: Luis Felipe <luis.felipe.la <at> protonmail.com>
> Date: Mon, 5 Oct 2020 13:10:27 -0500
> Subject: [PATCH] website: theme: Allow adding the noindex meta element to
>  pages.
>
> This change allows to tell Internet robots not to index some pages.
>
> * website/apps/base/templates/theme.scm (theme): New parameter INDEX?

Pushed, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Nov 2020 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 214 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.