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

Creating non-blog page from markdown #31

Closed
apryor6 opened this issue Oct 12, 2016 · 4 comments
Closed

Creating non-blog page from markdown #31

apryor6 opened this issue Oct 12, 2016 · 4 comments

Comments

@apryor6
Copy link

apryor6 commented Oct 12, 2016

I'm building a portfolio with this theme that consists of projects that I write as blog posts in markdown. That works great, but I also want to build other permanent pages, like a publications page, with the same theme. How can I write a page in markdown and have Jekyll convert it to HTML in the same way as a blog post, but without including it as such?

@aron-bordin
Copy link
Owner

Instead of creating a post, you should create a new page. Just create a folder with the url of your page and inside it, a file named ìndex.md.

For example, to create a page at <your-site-url>/mypage creates the file mypage/index.md and adds the page content.

(Take a look in the about page here: https://github.com/aron-bordin/neo-hpstr-jekyll-theme/blob/master/about/index.md)

@apryor6
Copy link
Author

apryor6 commented Oct 12, 2016

Sorry, where specifically do I make this folder? I tried making it in the
same folder as _config.yml but get a 404 upon using my link to the new page
(it also doesn't have an .html associated in the generate _site)


Alan (AJ) Pryor
Ph.D. Candidate
UCLA Coherent Imaging Group
University of California, Los Angeles
Department of Physics and Astronomy

(478-232-2486)

On Wed, Oct 12, 2016 at 9:27 AM, Aron Barreira Bordin <
notifications@github.com> wrote:

Closed #31
#31.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#31 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASwrhT9OJ7BwXTB3uy6Oqk6MDPTzLjLMks5qzQqPgaJpZM4KUyTM
.

@aron-bordin
Copy link
Owner

The demo source code has the about page (http://aronbordin.com/neo-hpstr-jekyll-theme/about/), check the about folder in the root directory, and inside it you have the index.md. Just create the new folder in the root of the site source, and then add the name of the folder to the url. (See, the about folder created the /about/ page.

@apryor6
Copy link
Author

apryor6 commented Oct 12, 2016

I got it working, thanks very much. It's a great theme.


Alan (AJ) Pryor
Ph.D. Candidate
UCLA Coherent Imaging Group
University of California, Los Angeles
Department of Physics and Astronomy

(478-232-2486)

On Wed, Oct 12, 2016 at 9:47 AM, Aron Barreira Bordin <
notifications@github.com> wrote:

The demo source code has the about page (http://aronbordin.com/neo-
hpstr-jekyll-theme/about/), check the about folder in the root directory,
and inside it you have the index.md. Just create the new folder in the
root of the site source, and then add the name of the folder to the url.
(See, the about folder created the /about/ page.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#31 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASwrhTsZUFDcgKzrtNLtuh2aZv4bZjLPks5qzQ8YgaJpZM4KUyTM
.

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

No branches or pull requests

2 participants