Git Product home page Git Product logo

Comments (9)

b2a3e8 avatar b2a3e8 commented on August 18, 2024 1

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.

thenishkarshagarwal avatar thenishkarshagarwal commented on August 18, 2024

@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.

b2a3e8 avatar b2a3e8 commented on August 18, 2024

Hi @thenishkarshagarwal
Just use the home layout.

---
title: /blog
layout: home
permalink: /blog
---

from jekyll-theme-console.

thenishkarshagarwal avatar thenishkarshagarwal commented on August 18, 2024

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.

b2a3e8 avatar b2a3e8 commented on August 18, 2024

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.

thenishkarshagarwal avatar thenishkarshagarwal commented on August 18, 2024

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.

image

from jekyll-theme-console.

thenishkarshagarwal avatar thenishkarshagarwal commented on August 18, 2024

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.

b2a3e8 avatar b2a3e8 commented on August 18, 2024

Thats a generic jekyll question - please ask Google.

from jekyll-theme-console.

thenishkarshagarwal avatar thenishkarshagarwal commented on August 18, 2024

yea, alright. thanks a lot for your help, pal.

from jekyll-theme-console.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.