Comments (7)
@christiantype Have you tried setting the baseurl to demo? As you aren't using the root domain.
from chalk.
Great! That seemed to fix things :-) http://christiansolorzano.com/demo/
Some links are broke now. Below is what is in my _config.yml
. Should /demo/ be included elsewhere besides the baseurl
?
# Mandatory settings
baseurl: /demo/
name: Chalk
paginate: 25
paginate_path: "/posts/page/:num/"
url: # add site url http://example.com/
blog_theme: light # Or use dark
# Optional settings
discus_identifier: # Add your Disqus identifier
ga_analytics: # Add your GA Tracking Id
rss_enabled: true # Change to false if not
social:
dribbble: # Add your Dribbble link
facebook: # Add your Facebook link
github: # Add your GitHub link
linkedin: # Add your LinkedIn link
twitter: # Add your Twitter handle
email: # Add your Email address
bitcoin: # Add your Bitcoin link or address
# Important settings (change at own risk)
assets:
compress:
css: true
js: true
features:
automatic_img_size: false
sources:
- _assets/bower
- _assets/fonts
- _assets/images
- _assets/javascripts
- _assets/stylesheets
- _vendor/
collections:
my_tags:
output: true
permalink: /tag/:slug/
defaults:
-
scope:
path: ""
type: my_tags
values:
layout: articles_by_tag
exclude:
- .bowerrc
- .travis.yml
- bin/*
- bower.json
- circle.yml
- Gemfile
- Gemfile.lock
- README.md
- vendor/
gems:
- jekyll-assets
- jekyll-paginate
- jekyll-sitemap
- bourbon
- neat
permalink: posts/:slug
from chalk.
@christiantype It should work with just the baseurl. Does it work locally when running jekyll serve?
from chalk.
When I work locally using http://127.0.0.1:4000/demo/
, homepage works fine.
However, when I click on a post, the link goes to http://127.0.0.1:4000/posts/writingthrough
and I receive the 404 error page. I have to manually type /demo
before /posts/
in the URL, to see my post.
Here's an a live example:
Home page: http://christiansolorzano.com/demo
Post, clicked from: home page: http://christiansolorzano.com/posts/writingthrough
Correct URL, by manually fixing address in browser: http://christiansolorzano.com/demo/posts/writingthrough.html
It looks like Jekyll Build isn't including /demo/
in any of the sub-level pages.
from chalk.
@christiantype I see what happened, you are using an old version of Chalk. I fixed everything by using relative_paths from Jekyll. Please have a look at the index page and switch the urls :)
from chalk.
Cool! I noticed you Use new Jekyll relative_url and absolute_urls (#7)
in several places. Would you recommend that I do it everywhere you did?
from chalk.
@christiantype Yes! Let me know if you have any more issues.
from chalk.
Related Issues (20)
- Multi-language reading time estimate
- Setup not working on MacOS HOT 1
- Disable Google Analytics in Dev Mode
- .pdf files don't generate as assets HOT 1
- Failed to publish correctly / Stylesheets ... etc missing HOT 1
- Unable to configure scss
- YouTube handle issue
- Error on `npm run publish`
- Can someone ELI5 adding svg icon (and associated link) into header-nav? HOT 1
- htmlproofer 3.17.2 | Error: HTML-Proofer found 167 failures!
- Jekyll server not updating and crashing on exit (Windows) HOT 1
- [error] on sudo npm run local
- Error deploying docs (imcompatible character encodings) HOT 1
- (MacOS Big Sur) - Error: Could not find or load main class install HOT 3
- How do I change the title?
- [Information] Running Chalk on Windows HOT 3
- publish: false files are deleted after npm run publish
- bash bin/deploy on Windows: "bin/deploy: line 19: bundle: command not found"
- Pagination link needs double tap to work on iOS
- Could you explain how to deploy without command line?
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 chalk.