Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Template broken for TMS endpoints

未关闭
#2,422 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@doublebyte1 已经在做这个了。

开始于 2026年9月29日。

  • #2423 来自 @doublebyte1 —— 未关闭
  • #2428 来自 @C1-BA-B1-F3 —— 已关闭,未合并

评估

这个 Issue 还没有评估数据。

描述

bug

Description
HTML templating is not working for the HTML encoding of the TileMatrixSets resource

Steps to Reproduce

  • Apply html templating by following these steps.

        cat example-config.yml | grep themes
            path: /home/joana/git/tmp/pygeoapi/pygeoapi/themes/hand-drawn/templates
            static: /home/joana/git/tmp/pygeoapi/pygeoapi/themes/hand-drawn/static
    
        ls themes/hand-drawn/
        static  templates
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ ls themes/hand-drawn/templates/
        _base.html  tilematrixsets
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ ls themes/hand-drawn/templates/tilematrixsets/
        index.html  tilematrixset.html
        (pygeoapi) joana@invisurface:~/git/tmp/pygeoapi/pygeoapi$ 
    
  • Visit the "TileMatrixSets" endpoint on a browser.

Expected behavior
The templating should be applied to the "TileMatrixSets" and derived endpoints.

Screenshots/Tracebacks

Image Image Image

Environment

  • OS: Ubuntu 24.04.5 LTS
  • Python version: Python 3.12.0
  • pygeoapi version: 0.25.dev0
主要语言
Python
星标
626
派生
334
平均合并
20 小时 31 分钟
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

geopython/pygeoapi 的其他 Issue

查看 geopython/pygeoapi 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。