Comments (9)
Hi Aman,
The theme doesn't provide a built-in secondary-menu. Maybe I can inspire you with some possible solutions:
- You could create a new page which is based on the layout "home". If you do that, you will get automatically a list of all your posts. That's not a secondary menu, but it may feels like a sub-menu and would be a very easy solution.
- You could fork this theme and modify it to create your own custom theme. You would want to change _includes/header.html and _sass/base.scss. If you know html, css and jekyll a little, it is easy to add a secondary-menu or a dropdown-sub-menu or whatever... If you don't know html, css & jekyll don't be afraid to learn it! You're welcome to submit a pull-request with your changes if you think your solution is useful for others too.
I hope I could answer your question and help you with your request. Don't hesitate to ask if you need more assistance.
Cheers!
from jekyll-theme-console.
@b2a3e8
I have to deal with something similar;
actually wanted to link the "posts" into the "/blog/" permalink instead of "/" {index.md};
but I am unable to do so, and the only option left is to manually link them into the blog.md file.
thenishkarshagarwal.github.io
hope you can help me with the same.
from jekyll-theme-console.
Hi @thenishkarshagarwal
Just use the home layout.
---
title: /blog
layout: home
permalink: /blog
---
from jekyll-theme-console.
I'm really sorry, I gave you the incomplete details.
I already tried that, but it didn't work.
https://github.com/thenishkarshagarwal/thenishkarshagarwal.github.io/blob/main/blog.md
also changed index.md to "page".
@b2a3e8
from jekyll-theme-console.
Ok so you're doing that right but I think your post is not generated by jekyll. Check this page: https://stackoverflow.com/questions/30625044/jekyll-post-not-generated
If that doesn't help I would clone the repo on your machine and debug local.. But I'm pretty sure above link helps, especially the part of the naming convention of your files (your post file name doesn't contain a date...
from jekyll-theme-console.
your post file name doesn't contain a date
damn, I'm a fool. I noticed it earlier, but forgot to apply it.
a lot thanks for helping me out. this now works.
from jekyll-theme-console.
right now, the "test post"'s URL looks like this :
https://thenishkarshagarwal.github.io/2020/11/15/test-post.html
how can I change this to something like this :
https://thenishkarshagarwal.github.io/blog/test-post.html
without manually linking it in the blog.md file?
from jekyll-theme-console.
Thats a generic jekyll question - please ask Google.
from jekyll-theme-console.
yea, alright. thanks a lot for your help, pal.
from jekyll-theme-console.
Related Issues (20)
- White colored text is not visible on white background in light theme HOT 5
- Undefined variable: "$base-font-weight". on line 17 on gitlab pages HOT 2
- Markdown or HTML images in posts HOT 2
- Github Pages build fails with the new hacker style changes HOT 5
- Margin bottom on paragraphs? HOT 3
- SEO error HOT 3
- no longer functions with github pages
- [Question] Adding a page from a different folder on _config_yml HOT 1
- RSS Feed? HOT 3
- Is images supported by this theme? HOT 3
- ERR_BLOCKED_BY_CSP In Iframe HOT 1
- Can't Get Google Analytics Working. HOT 1
- The blog directory cannot be paged. Too many articles make the page very long
- Slow Load Times
- 无法显示当天文章
- Rendering image in _posts issue HOT 1
- How to get the contact form to work? HOT 2
- Support user preference for light or dark mode HOT 3
- Changes for the VI/Blind HOT 1
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 jekyll-theme-console.