gaowei-space / markdown-blog

🍭 Markdown-Blog 是一款小而美的Markdown静态博客程序 | Markdown-Blog is incredibly fast, easy to use, and converts Markdown formatted text files into beautifully rendered HTML pages.
https://blog.gaowei.tech
MIT License
432 stars 57 forks source link

为什么Fork 源码下来运行一直出现这个问题? #49

Closed BigSmallBrain closed 10 months ago

BigSmallBrain commented 10 months ago

2023-10-26 10:15:38|2.9805ms|500|GET|/|::1|0 B|0 B|error(template: layouts/layout.html:64:7: executing "layouts/layout.html" at : wrong number of args for render: want 2 got 1)|

image

gaowei-space commented 10 months ago

2023-10-26 10:15:38|2.9805ms|500|GET|/|::1|0 B|0 B|error(template: layouts/layout.html:64:7: executing "layouts/layout.html" at : wrong number of args for render: want 2 got 1)|

image

是不是升级了 iris 框架了呢? layouts/layout.html ,64行,改为这样看看 : {{ render "layouts/header.html" . }}

BigSmallBrain commented 10 months ago

image 已经解决了 用了最新的iris上面三处全改问题解决 感谢大佬👍