-
Notifications
You must be signed in to change notification settings - Fork 92
Breadcrumb #306
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
Merged
Merged
Breadcrumb #306
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
8f1ecd3
Add breadcrumb style
gilgongo be73bf4
Create breadcrumb.html
gilgongo fb11a81
Update breadcrumb.html
gilgongo 780f692
Update en-Central-Servers.md
gilgongo c573a94
Update en-Choosing-a-Server-Type.md
gilgongo 78e2bfb
Update en-Installation-for-Windows.md
gilgongo 4e15dae
Update en-Installation-for-Macintosh.md
gilgongo be76181
Update en-Installation-for-Linux.md
gilgongo 689c791
Update en-Hardware-Setup.md
gilgongo 228669c
Update en-Running-a-Private-Server.md
gilgongo a1a3773
Update en-Server-Linux.md
gilgongo 8368348
Update en-Server-Troubleshooting.md
gilgongo fe28ed0
Update en-Server-Win-Mac.md
gilgongo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <div id="breadcrumb"> | ||
| {% if include.root %} | ||
| <strong>{{ include.root }}</strong> | | ||
| {% endif %} | ||
| {% if include.branch1 %} | ||
| <a href="{{ include.branch1-url }}">{{ include.branch1 }}</a> | ||
| {% endif %} | ||
| {% if include.branch2 %} | ||
| > <a href="{{ include.branch2-url }}">{{ include.branch2 }}</a> | ||
| {% endif %} | ||
| {% if include.branch3 %} | ||
| > <a href="{{ include.branch3-url }}">{{ include.branch3 }}</a> | ||
| {% endif %} | ||
| </div> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea! Do you think a loop would be better here so more than two items can be created?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how to create a loop, but I guess if we ever wanted to get more than three levels deep we could just change the include to accept that (or just a "branch3"....)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I think, we should include three levels now. It's better to have too many than not enough ;-).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I'll add a third (BTW just been reading about loops but I'm not sure how to get the alternating linktext/link thing working with that).
I'll put them on the page then and add to this branch. Would be good to get that in before translation starts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree.
Same for the linux installation guide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK I've done that now I think. Note that it's quite a "conservative" breadcrumb because it's not on every page, just the one's that are sort of "children" of others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! I've also edited the Linux install pages (client/server). But I think they will soon need to be re-written because they look quite messy...