From nobody Sat Jun 22 12:55:23 2024 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W5vMv5l2mz5Pd7c for ; Sat, 22 Jun 2024 12:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W5vMv2Nd6z4x1V for ; Sat, 22 Jun 2024 12:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719060923; a=rsa-sha256; cv=none; b=p7cWmPf0olzNYxg32rw7ICqvkwcjP8XHTGMVq0puMCsWKlqTdJLGghaKDHRa0JQLFyLA4e 5e9dt8PunPJ7Soeb3QeTwJ1hyoS00qVyrqqFsqVYu+VhWmQHpT2R+yelk1sQGLvFglqR3o ghqZVgKEV2MdUxzk7m3z4/LRBIxRYvfDNO+6L+PyDoA7z4vAqiZyefV5E4aTxEfrfrXPPv cww6L/gjNNmI/awmLlwwBQ3IBvd2+WrG+jvxTd0m0sBCLYyjz/pCw+EKKKZhJ3/GIXiXLN uHNEZtFvI/41mfNPSAsAqw3bXhMWDv/xEB9bcGa1J4QgXWoyoqr0H7k7Ex721A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719060923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x8uBP02tVSikwtwmWbnX1uPBr5qMjroRz85RPATssuA=; b=fltG+0F0zZ2PcsdnZq7YKGeV20RWXjcsk3oBRUyYoW4WthxQ9/XhTkl3GXFyManD35pz7B flu4jHxCYU5ObmBwu6mEkmIodrP5EQEli2n+KXlxqwvXy9DTdAiP0PwEF3LDjQ9kA9rUos QOTVI4h8bQ9SQWIOOriyz4Emm4beefRp6/Lzl7ARlPLelpQvPo9xnjotu127PnZczKNIK5 Z3nomQkdPs5U2a3d4KXBLrgkiaJiy7ZRJyhuITap3fJKXSYeImDdZBEsg9ufUrJIJaKAA4 4mzQNchaqNRGRbCmHDoRmpXy6gN840yL+WgieXG5qLHt6Bf0qrz03ZVDFDEHug== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W5vMv1vxCzs8B for ; Sat, 22 Jun 2024 12:55:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45MCtNT3020372 for ; Sat, 22 Jun 2024 12:55:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45MCtNEZ020363 for doc@FreeBSD.org; Sat, 22 Jun 2024 12:55:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 279896] Download PDF not working in handbook [404] Date: Sat, 22 Jun 2024 12:55:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Website X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd.illusive064@passinbox.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279896 --- Comment #5 from freebsd.illusive064@passinbox.com --- I did some more invenstigation :

{{ i18n "resources" }}

    {{ $pathSections :=3D split .Page.File "/" }} {{ $path :=3D printf "%s/%s/%s_%s.pdf" (index $pathSections 0) (i= ndex $pathSections 1) (index $pathSections 1) $.Site.Home.Language }} {{ $pdfUrl :=3D printf "%s%s/%s" $.Site.Params.downloadBaseUrl $.Site.Home.Language $path }}
  • {{ i18n "download-pdf" }}
  • {{ $editUrl :=3D printf "%s%s/%s" $.Site.Params.editBaseUrl $.Site.Home.Language .Page.File }}
  • {{ i1= 8n "edit-page" }}
Here specifically: {{ $pathSections :=3D split .Page.File "/" }} {{ $path :=3D printf "%s/%s/%s_%s.pdf" (index $pathSections 0) (i= ndex $pathSections 1) (index $pathSections 1) $.Site.Home.Language }} pathSections 1 and 0 are nil, why? I have no idea how this site is made, hopefully someone else can answer that --=20 You are receiving this mail because: You are the assignee for the bug.=