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

Question: nav_list fixed number? #59

Closed
maddovr opened this issue May 4, 2018 · 10 comments
Closed

Question: nav_list fixed number? #59

maddovr opened this issue May 4, 2018 · 10 comments
Labels
Type: Discussion Type: An issue that discuss about thinkings or problems

Comments

@maddovr
Copy link
Contributor

maddovr commented May 4, 2018

So I made a page where I want to list my projects and I wanted to show it on the novelist in the top-right corner, however it doesn't seem to work unless I replace the about link. Am I doing something wrong(quite possible, since I've a high fever)? How can I go about it the right way?

@kitian616
Copy link
Owner

maybe you should set the nav configs in _config.yml like this:

nav_lists:
  - titles:
      en: About
      zh: 关于
      zh-Hans: 关于
      zh-Hant: 關於
    url: /about.html
  - title: Projects
    url: /projects.html

This add a "Projects" link on the navigator, and url is "/projects.html"

@maddovr
Copy link
Contributor Author

maddovr commented May 17, 2018

While speaking about this(I'm still recovering from measles, so my eyesight is kinda garbage right now, that's why I still haven't worked on staticman yet), I think we can safely remove "Home" from nav_list as it's redundant with the Title(which is also a "Home" link). Is there an easy way to go about this?

@kitian616
Copy link
Owner

kitian616 commented May 18, 2018

doesn't matter. take care of yourself.

This is a good question. now the navigation bar config is not very flexible, and also footers and license. so I am working on a big upgrade.

@maddovr
Copy link
Contributor Author

maddovr commented May 18, 2018

Right, an option to disable the license would be great(even a front matter option, so as to leave the user with the choice of where and when to use it).

@maddovr
Copy link
Contributor Author

maddovr commented May 24, 2018

Another thing: I think the RSS link should stay in the footer as a "social" button. It is not a really widespread feature, surely not one I would put on the header anyway. Waiting hopefully for your big upgrade!

@kitian616
Copy link
Owner

in the next version, RSS will be moved in the footer, and also the mail info will become a "social" button

@maddovr
Copy link
Contributor Author

maddovr commented May 26, 2018

That would be great. Also IMHO having a front matter option license: true/false would be great as not all posts need to have a license.

@kitian616
Copy link
Owner

Finally I push the code and you can visit https://tianqi.name/jekyll-TeXt-theme for the demo.

Made a lot of changes, it really cost me some time, time to write document :-)

@maddovr
Copy link
Contributor Author

maddovr commented May 26, 2018

Some great changes that would break everything and anything, but it's a necessary evil 👍
Good job on that. Before a release, would it be possible to add an option to show the comment count just like we show page views?

@kitian616
Copy link
Owner

kitian616 commented May 27, 2018

More changes will be coming. I am migrating TeXt from version 1 to version 2. There is a lot document work, and a new home page (a new layout) for demo site.

TeXt 2 is not just a theme for blog, it would be more customized (so there would be more layouts).

Comment count is possible. that means I have to add this function for every supported comment systems in TeXt, this would take a while.

@kitian616 kitian616 added the Type: Discussion Type: An issue that discuss about thinkings or problems label Aug 11, 2018
ushasigh pushed a commit to dineshb-ucsd/wcsng-new.github.io that referenced this issue Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Discussion Type: An issue that discuss about thinkings or problems
Projects
None yet
Development

No branches or pull requests

2 participants