Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links #35

Open
book opened this issue May 26, 2016 · 4 comments · May be fixed by #37
Open

Broken links #35

book opened this issue May 26, 2016 · 4 comments · May be fixed by #37

Comments

@book
Copy link
Collaborator

book commented May 26, 2016

When generating the static web site with my test database, wallflower gave me the following errors:

$ wallflower --include lib --environment static --destination static/ --application bin/app.pl |grep -v ^200
The pass option is deprecated. Use password instead. at /home/book/perl5/lib/perl5/DBICx/Sugar.pm line 63.
404 /posts/user/BooK.html
404 /posts/category/uncategorized.html
404 /posts/tag/test.htmlme%20%]%3C/a%3E%3C/li%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href=
404 /posts/tag/more.htmlme%20%]%3C/a%3E%3C/li%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%3C/ul%3E%0A%20%20%3C/div%3E%20%20%20%20%0A%3C/div%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0A%0A%20%20%20%20%20%20%3C/div%3E%0A%20%20%20%20%3C/div%3E%0A%20%20%3C/div%3E%0A%3C/div%3E%0A%0A%20%20%0A%20%20%20%20%20%20%20%3Cfooter%3E%0A%20%20%20%20%20%20%20%20%20%3Cdiv%20class=
404 /blog/fonts/glyphicons-halflings-regular.eot
404 /blog/fonts/glyphicons-halflings-regular.woff
404 /blog/fonts/glyphicons-halflings-regular.ttf
404 /blog/fonts/glyphicons-halflings-regular.svg
404 /posts/tag/test.html
404 /posts/tag/more.html
404 /posts/tag/more-test.html

I think this is mostly related to the templates having incorrect links for things that probably are in the dashboard. The %20 issue is probably related to some syntax error in a template.

@book
Copy link
Collaborator Author

book commented May 27, 2016

This is related to #36, in the sense that the templates reference the old endpoints.

@book
Copy link
Collaborator Author

book commented May 27, 2016

Step 1: 63f104b makes the uri() methods link to the endpoints listed in #36.

@book
Copy link
Collaborator Author

book commented May 27, 2016

Step 2: a40d873 fixes really broken links.

404 /posts/tag/test.htmlme%20%]%3C/a%3E%3C/li%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href=

@book
Copy link
Collaborator Author

book commented May 27, 2016

Step 3: cc7095d uses the uri() method everywhere possible.

The only remaining 404 in a wallflower run are:

404 /blog/fonts/glyphicons-halflings-regular.eot
404 /blog/fonts/glyphicons-halflings-regular.woff
404 /blog/fonts/glyphicons-halflings-regular.ttf
404 /blog/fonts/glyphicons-halflings-regular.svg

@book book linked a pull request May 27, 2016 that will close this issue
andrewalker pushed a commit to andrewalker/PearlBee that referenced this issue Nov 18, 2017
BLOGSPERL-192 Switch the theme between light and dark - Rewrite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant