Comments (2)
Thanks for such a considered response! Totally on board with you on both these points, I just hadn't realised how much was inherited by this repo.
The first one would be ideal if it could be set as an actual HTTP response header but totally outside the scope of this and it looks like the second point has already been raised as a Hugo bug in gohugoio/hugo#7431.
Hope you have a great weekend too!
from hugo-bearblog.
Hi @dijitali, thank you for getting in touch π.
http-equiv
This might not be Β»validΒ«, but it's just a fun meta-tag we inherited from the original bearblog. See
- Original: https://bearblog.dev/accounts/login/?next=/dashboard/
- Example blog: https://herman.bearblog.dev
The source code is here: https://github.com/HermanMartinus/bearblog/blob/master/templates/base.html#L5.
βΉοΈ Here's the story behind this non-standardised HTTP header: https://xclacksoverhead.org/home/about
itemprop
This one baffles me a little bit. We are using Hugo
s very own _internal/schema.html
-template here. The code is over at https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/schema.html.
I went and checked what's up on the Hugo News
-blog and they actually use it just in exactly the same way we do. Thus they get the same error on the w3c-validator, see https://validator.w3.org/nu/?doc=https%3A%2F%2Fgohugo.io%2Fnews%2F
If you want to persue this further I'd suggest opening up an issue on the main Hugo repo, which includes the _internal/schema.html
-template, so this can be fixed centrally.
β‘οΈ Thus - I think - we'll just have to live with these errors on the validator (for now?).
If you have a requirement for your personal website to be 100% valid against the w3c-validator you may overwrite the
baseof.html
(This includes the non-valid header) andseo_tags.html
(This includes the non-valid item props)
templates locally.
I hope that helps π.
Kind regards and have a good weekend π.
from hugo-bearblog.
Related Issues (20)
- Missing Content for index pages HOT 1
- CSS rule typo: word-wrap HOT 4
- external styles file HOT 4
- Hardcoded ref to /blog HOT 4
- Does this blog supports latex equations? HOT 2
- paginate in blog page HOT 3
- All the "Other Elements β abbr, sub, sup, kbd, mark" are stripped from the rendered HTML HOT 5
- Mismatched markdown bracket in code preview HOT 1
- feat: pagination support HOT 2
- Home page and Blog page doesn't work with baseURL configuration HOT 1
- abbr, sub, sup, kbd, mark don't seem to work HOT 3
- Create Mutliple Blog Instances HOT 1
- Are you planning to port this theme to WordPress? HOT 2
- Use blog list page as root / home / start page HOT 3
- Scrollbar moves layout a bit HOT 4
- how to disable Dark mode HOT 1
- Render bullet points on blog post list HOT 1
- Add Support for Mermaid.js Diagrams HOT 2
- og:title is empty HOT 1
- Is there a way to default to dark mode? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-bearblog.