Commit Graph

753 Commits

Author SHA1 Message Date
Ludovic Courtès 0a05512886
website: linode: Adjust author list.
* website/posts/running-guix-system-on-a-linode-server.md (author):
Move Joshua first, remove Ludovic.
2020-10-06 14:33:02 +02:00
Ludovic Courtès 80f1aa4f8b
website: Use "Devops" tag as appropriate.
* website/posts/managing-servers-with-gnu-guix.md (tags): Add "Devops".
* website/posts/towards-guix-for-devops.md (tags): Likewise.
* website/posts/ganeti-on-guix.md (tags): Likewise, and remove "Ganeti".
2020-10-06 14:22:33 +02:00
Ludovic Courtès 36b552a5bf
website: linode: Tweak.
* website/posts/running-guix-system-on-a-linode-server.md: Adjust tags
and date.  Use proper text ornaments.
2020-10-06 14:21:24 +02:00
Ludovic Courtès 554fb7ee7d
website: linode: Add standard footer.
* website/posts/running-guix-system-on-a-linode-server.md: Add footer.
2020-10-06 14:03:26 +02:00
Ludovic Courtès 14a10d8b0b
website: linode: Distinguish Cookbook reference.
* website/posts/running-guix-system-on-a-linode-server.md: Typeset
reference to cookbook specially.
2020-10-06 14:01:40 +02:00
Joshua Branson 720bd1891b
website: running Guix System on a Linode Server: new post.
* website/posts/running-guix-system-on-a-linode-server.md: New post.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-06 13:59:38 +02:00
Jan (janneke) Nieuwenhuizen a23d72432a
website: drafts: childhurds-and-substitutes: Remove --without-tests.
* website/drafts/childhurds-and-substitutes.md: Remove --without-tests
now that gettext-minimal builds.  Fix typos, broken links.
2020-10-05 22:13:49 +02:00
Jan (janneke) Nieuwenhuizen bce8fce739
website: drafts: childhurds-and-substitutes: guix environment guix.
* website/drafts/childhurds-and-substitutes.md: Add working
alternative for 'guix environment guix'.  Also update a link to the
development manual.
2020-10-04 21:46:47 +02:00
Mathieu Othacehe da9763656b
website: drafts: childhurds-and-substitutes: Image generation.
* website/drafts/childhurds-and-substitutes.md: Explain image generation
mechanism and fix typo.
2020-10-04 11:36:45 +02:00
Jan (janneke) Nieuwenhuizen d48391cfec
website: drafts: childhurds-and-substitutes: Typos and additions.
* website/drafts/childhurds-and-substitutes.md: Typos (sorry Mathieu;)
and additions.
2020-10-04 09:00:42 +02:00
Jan (janneke) Nieuwenhuizen 3c9aceb700
website: drafts: Add draft post on substitutes for the Hurd.
* website/posts/childhurds-and-substitutes.md,
website/static/blog/img/hurd-substitutes.gif: New files.
2020-10-03 23:20:53 +02:00
Ludovic Courtès d192c2874e
website: Use the "Security" tag more consistently.
* website/posts/bootstrapping-rust.md: Add "Security" tag.
* website/posts/further-reduced-binary-bootstrap.md: Use "Security" tag
instead of "Trust".
* website/posts/grafts-continued.md: Use "Security" instead of "Security
updates".
* website/posts/timely-delivery-of-security-updates.sxml: Likewise.
* website/posts/reduced-binary-seed-bootstrap.md: Add "Security".
* website/posts/running-services-in-containers.md: Likewise.
2020-10-01 16:45:31 +02:00
Mathieu Othacehe 4a15908637
website: download: Change the hurd image job name.
* website/apps/download/templates/download-latest.scm (images): Change hurd
image job name to "hurd-barebones.qcow2".
2020-09-29 17:14:28 +02:00
Mathieu Othacehe 6193c919d2
website: Rename lastest ISO.
* website/apps/download/templates/download-latest.scm (images): Rename latest
ISO to "image.iso".
2020-09-20 09:58:16 +02:00
Ricardo Wurmus ef4c897b91
website: Render non-breaking space and ellipsis correctly.
* website/apps/packages/utils.scm (texinfo->shtml): Replace *ENTITY*
nodes with nbsp and hellip entities with the corresponding character;
replace with a space in case of unknown entities.
2020-09-13 23:51:47 +02:00
Florian Pelz 8c7e934e3d
website: nls: Include package version in the POT file.
Including a package version in the .pot file is probably necessary for
sending it to the Translation Project.

* i18n-howto.txt: Advice using '--package-version' command-line argument.
* po/guix-website.pot: Recreate with '--package-version'.
2020-08-21 07:44:30 +00:00
Florian Pelz 00c66cd5af
website: blog: Fix spacing of line separator in navbar.
Previously, only in blog posts, the margin would be too large.
Follow-up to 571e1a416e.

* website/static/blog/css/post.css (audio, img, video): Change
CSS selectors to only affect multimedia elements in the article.
2020-08-02 11:57:46 +00:00
Florian Pelz 7123def1b9
website: contribute: Fix display of hyperlink to the Contributor Covenant.
This is a follow-up to 0920b3d2f1.

* website/apps/base/templates/contribute.scm (contribute-t): Add
missing unquote.
2020-07-29 09:55:08 +00:00
Florian Pelz 0920b3d2f1
website: Fix display of labels in links to the manual.
Reported by Ludovic Courtès <ludo@gnu.org>.

* website/apps/base/templates/components.scm (manual-href): Add missing unquote.
2020-07-29 05:57:19 +00:00
Florian Pelz 68410f28e3
website: Change display name of default locale.
Change from 'English (US)' to 'English'.  We currently have only one
English version of the website, so adding a country code is confusing.

Suggested by zimoun <zimon.toutoune@gmail.com>.

* website/apps/base/utils.scm (locale-display-name): Change to "English".
Add warning that changing it would break existing translations.
* website/po/guix-website.pot: Update.
* website/po/de.po: Update.
2020-07-28 15:31:03 +00:00
Tobias Geerinckx-Rice 294399ad4c
website: navbar: Move up ‘Help’.
* website/apps/base/templates/components.scm (navbar): Move ‘Help’.
2020-07-28 14:18:43 +02:00
Florian Pelz 4ab8ab5c2f
website: Fix value of html lang attribute.
Reported by Dmitry Alexandrov <dag@gnui.org>.

* website/apps/base/templates/theme.scm (theme): Add missing unquote.
2020-07-27 20:05:08 +00:00
Florian Pelz 640d635f32
website: Add language selection dropdown to navbar.
* website/apps/base/templates/components.scm (navbar): Add it.
(horizontal-skip): New procedure.
* website/static/base/css/navbar.css: Add CSS for horizontal-skip.
Increase size at which website switches to mobile mode.
2020-07-26 15:43:02 +02:00
Florian Pelz 571e1a416e
website: navbar: Make dropdowns accessible to keyboard and touch input.
* website/apps/base/templates/components.scm (horizontal-line): New procedure.
(navbar, menu-dropdown): Adapt to use CSS for accessibility.
* website/static/base/css/navbar.css: Adapt CSS to new dropdowns.
(menu-item-active): Make visible when appropriate.
(menu-item): Make visible when appropriate.  Change margin.
(dropdown-btn): Make visible when appropriate.  Add margin.  Change padding.
(submenu): Make visible when appropriate.
(menu-hidden-input): Hide HTML radio buttons not meant for display.
(hline): Hide in small browser window.
(navbar): With mouse cursor, signify dropdown labels are clickable.
Highlight pressed down labels.
2020-07-26 15:43:02 +02:00
Florian Pelz 3c8dd16320
website: nls: Add German translation.
* po/de.po: New file.  Move here the translation from ...
* apps/base/data.scm (contact-media): ... here.
* po/LINGUAS: Add 'de_DE' locale entry.
* po/ietf-tags.scm: Associate with 'de' tag.
2020-07-26 15:43:02 +02:00
Florian Pelz 6933201109
website: media: Do not localize video page URLs.
* website/apps/media/types.scm (<video>, video):
Add new field for the page URL subpath.
* website/apps/media/data.scm (playlists): Use it.
* website/apps/media/utils.scm (video->url): Compute page URL from it.
2020-07-26 15:43:02 +02:00
Florian Pelz 877d54caf1
website: apps: Mark all files for translation.
* website/po/guix-website.pot: New file.
* website/apps/base/utils.scm (manual-url-with-language): New
procedure.
(locale-display-name): New procedure.
(guix-url): Use localized URLs by default.
* website/apps/base/templates/components.scm (manual-href,
manual-link-yellow): New procedures.
(breadcrumbs, contact->shtml, navbar): Mark for translation.
* website/apps/base/data.scm (contact-media): Mark for
translation.
* website/apps/base/templates/about.scm (about-t): Mark for
translation.
* website/apps/base/templates/contact.scm (contact-t): Mark for
translation.
* website/apps/base/templates/contribute.scm (contribute-t): Mark for
translation.
* website/apps/base/templates/donate.scm (donate-t): Mark for
translation.
* website/apps/base/templates/graphics.scm (graphics-t): Mark for
translation.
* website/apps/base/templates/help.scm (help-t): Mark for translation.
* website/apps/base/templates/home.scm (home-t): Mark for translation.
* website/apps/base/templates/irc.scm (irc-t): Mark for translation.
* website/apps/base/templates/menu.scm (menu-t): Mark for translation.
* website/apps/base/templates/security.scm (security-t): Mark for
translation.
* website/apps/base/templates/theme.scm (theme): Mark for translation.
* website/apps/blog/templates/components.scm (post-preview, sidebar):
Mark for translation.
* website/apps/blog/templates/feed.scm (atom-feed-t): Mark for
translation.
* website/apps/blog/templates/post-list.scm (post-list-t): Mark for
translation.
* website/apps/blog/templates/post.scm (post-t): Mark for translation.
* website/apps/blog/templates/tag.scm (tag-t): Mark for translation.
* website/apps/download/data.scm (home-t): Mark for translation.
* website/apps/download/templates/components.scm (system-downloads):
Mark for translation.
* website/apps/download/templates/download.scm (download-t): Mark for
translation.
* website/apps/download/templates/download-latest.scm (images,
image-download, download-latest-t): Mark for
translation.
* website/apps/media/data.scm (playlists, screenshots):
Mark for translation.
* website/apps/media/templates/components.scm (video->shtml,
video-content): Mark for translation.
* website/apps/base/templates/screenshot.scm (screenshot-t):
Mark for translation.
* website/apps/media/templates/screenshots-overview.scm
(screenshots-overview-t): Mark for translation.
* website/apps/media/templates/video.scm (video-t): Mark for translation.
* website/apps/media/templates/video-list.scm (video-list-t):
Mark for translation.
* website/apps/packages/templates/components.scm (detailed-package-preview,
letter-selector, sidebar, supported-systems->shtml): Mark for translation.
* website/apps/packages/templates/detailed-index.scm (detailed-index-t):
Mark for translation.
* website/apps/packages/templates/detailed-package-list.scm
(detailed-package-list-t): Mark for translation.
* website/apps/packages/templates/index.scm (index-t): Mark for translation.
* website/apps/packages/templates/package-list.scm (package-list-t):
Mark for translation.
* website/apps/packages/templates/package.scm (package-t): Mark for
translation.
2020-07-26 15:43:02 +02:00
Florian Pelz eff4837177
website: Add custom xgettext to extract from nested sexps for i18n.
* website/po/POTFILES: New file.  List apps files here.
* website/po/LINGUAS: New file.  List en_US lingua.
* website/po/ietf-tags.scm: New file.  Add association for en_US lingua.
* website/scripts/sexp-xgettext.scm: New file for generating a POT file.
(<keyword-spec>, <po-entry>, <construct-fold-state>): New record types.
(combine-duplicate-po-entries, complex-keyword-spec?, parse-scheme-file,
po-equal?, write-po-entry, update-ecomments-string!, update-file-name!,
update-old-line-number!, update-line-number!, incr-line-number!,
incr-line-number-for-each-nl!, current-ref, make-simple-po-entry,
matching-keyword, nth-exp, more-than-one-exp?, token->string-symbol-or-keyw,
complex-marked-list->po-entries, construct-po-entries, tag,
construct-msgid-and-po-entries, scheme-file->po-entries): New procedures.
(%keyword-specs, %options, %comments-line, %ecomments-string, %file-name,
%old-line-number, %line-number, %files-from-port, %source-files,
%output-po-entries, %output-port): New variables.
* website/sexp-xgettext.scm: New file with module for looking up
translations.
(%complex-keywords, %simple-keywords, %plural-numbers, %linguas):
New variables.
(<construct-fold-state>, <deconstruct-fold-state>): New record types.
(set-complex-keywords!, set-simple-keywords!, gettext-keyword?, tag,
sexp->msgid, deconstruct): New procedures.
(sgettext, spgettext, sngettext, snpgettext): New macro helpers.
* website/apps/i18n.scm: New file.
(G_, N_, C_, NC_, ietf-tags-file-contents): New syntax to use for i18n.
(%current-ietf-tag, %current-lang, %current-lingua): New variables.
(builder->localized-builder, builders->localized-builders,
localized-root-path, first-value): New utility procedures.
(<asset>, <page>): New imports from Haunt.
* website/haunt.scm: Wrap each builder to build the locale set in LC_ALL.
* website/.guix.scm: Make Haunt build directory writable so Haunt can
overwrite duplicate assets.  Convert PO files to MO files and build for
each lingua.
* website/README: Adapt build instructions for i18n.
* website/i18n-howto: New file with usage instructions.
2020-07-26 15:43:01 +02:00
Florian Pelz 32de6f95a1
website: Refactor GUIX_WEB_SITE_ROOT_PATH handling.
* website/apps/base/utils.scm (guix-url): Move the logic that
computes which root path to use from the getter to ...
(guix-root-url-path): ... the setter here.
2020-07-26 15:43:01 +02:00
Florian Pelz e612e97679
website: Handle GUIX_WEB_SITE_ROOT_PATH not ending in a slash.
* website/apps/base/utils.scm (guix-root-url-path): Add slash if missing.
2020-07-26 15:43:01 +02:00
Florian Pelz 58e9e29649
website: Fix building with GUIX_WEB_SITE_ROOT_PATH.
* website/.guix.scm: Retain GUIX_WEB_SITE_ROOT_PATH in the build expression.
2020-07-26 15:43:01 +02:00
Danjela Lura b433d8452b
website: Add post about the Guix Data Service Outreachy internship.
* website/posts/improve-internationalization-support-for-the-guix-data-service.md:
New file
* website/static/blog/img/guix-data-service-audacity.png: New file.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-07-22 23:07:49 +01:00
Ludovic Courtès d2e531d7b3
website: ganeti-on-guix: Mark Scheme snippets as such.
* website/posts/ganeti-on-guix.md: Use "```scheme" where appropriate.
2020-07-20 12:33:56 +02:00
Marius Bakke 74551fd90b
website: ganeti-on-guix: Tweak and publish.
* website/drafts/ganeti-on-guix.md: Do some final adjustments and move
from here ...
* website/posts/ganeti-on-guix.md: ... to here.
2020-07-17 14:50:32 +02:00
Marius Bakke 6a477cd952
website: Add draft of a Ganeti cluster post.
* website/drafts/ganeti-on-guix.md: New file.
2020-07-16 22:27:45 +02:00
Ludovic Courtès 7b96e28089
website: data: Add "guix-science" mailing list.
* website/apps/base/data.scm: Add "guix-science".
2020-07-14 15:25:00 +02:00
zimoun 35bb77108f
website: Add integrity to JSON sources.
* website/apps/packages/builder.scm (origin->json): Add integrity field using
SRI format.
(sources-json-builder): Add "revision" field to "sources.json".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-07-06 12:19:32 +02:00
Mathieu Othacehe 0b92c81553
website: download: Add Hurd image.
* website/apps/download/templates/download-latest.scm (images): Add Hurd image.
2020-07-06 09:12:29 +02:00
Mathieu Othacehe 33a962e5a6
website: download: Add image label support.
* website/apps/download/templates/download-latest.scm (default-system): New
variable,
(<image>)[labels]: new field,
(images): adapt accordingly,
(image-download): use the new label field.
2020-07-06 09:12:29 +02:00
Ludovic Courtès 80ac321448
website: securing-updates: Fix typo.
* website/posts/securing-updates.md: Fix typo.
2020-07-01 17:49:13 +02:00
Ludovic Courtès 4b8834549e
website: securing-updates: Add illustration for introductions.
* website/posts/securing-updates.md: Add picture with introduction and
comment it.
* website/static/blog/img/commit-graph-intro.dot,
website/static/blog/img/commit-graph-intro.svg: New files.
2020-07-01 17:35:30 +02:00
Ludovic Courtès 09a79b0d43
website: securing-updates: Fix typos, tweak wording.
* website/posts/securing-updates.md: Fix typos, tweak wording.
2020-07-01 17:11:40 +02:00
Ludovic Courtès 2dbd8c2c1e
website: commit-authentication: Publish.
* website/drafts/commit-authentication.md: Rename to...
* website/posts/securing-updates.md: ... this.
* website/static/blog/img/commit-graph.svg: New file.
2020-07-01 16:48:04 +02:00
Ludovic Courtès d26a1ab6e6
website: commit-authentication: Add header and footer.
* website/drafts/commit-authentication.md: Add header and footer.
2020-07-01 16:23:12 +02:00
Ludovic Courtès b3d1e0f1fa
website: commit-authentication: Final words.
* website/drafts/commit-authentication.md: Finish related work and last
section.
2020-07-01 15:30:25 +02:00
Ludovic Courtès d0b9db76df
website: commit-authentication: Start "Related work".
* website/drafts/commit-authentication.md: Begin "Related work".
2020-07-01 00:33:56 +02:00
Ludovic Courtès 363e6b0e0d
website: commit-authentication: Fix typos.
Thanks to Marius & Ricardo.

* website/drafts/commit-authentication.md: Fix typos.
2020-07-01 00:32:52 +02:00
Jan (janneke) Nieuwenhuizen 09e39e7ad5
website: commit-authentication: Fix typos.
* website/drafts/commit-authentication.md: Fix typos.
2020-06-30 22:36:18 +02:00
Ludovic Courtès e05a0e7559
website: commit-authentication: Add section on SHA-1.
* website/drafts/commit-authentication.md (SHA-1): New section.
2020-06-30 17:07:44 +02:00
Ludovic Courtès 437e0cbc16
website: commit-authentication: Write about the implementation and process.
* website/drafts/commit-authentication.md (A long process): Write.
2020-06-30 16:22:33 +02:00