-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc69ee4
commit a927aaa
Showing
7 changed files
with
144 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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,21 @@ | ||
<ol> | ||
{% for page in loopPages %} | ||
{% if page.path contains '_appendixes' %} | ||
{% assign subpages = site.appendixes | where: "parent", page.id | sort: "order" %} | ||
{% else %} | ||
{% assign subpages = site.pages | where: "parent", page.id | sort: "order" %} | ||
{% endif %} | ||
|
||
{% if page.title == currentMainParent %} | ||
{% for subpage in subpages %} | ||
{% assign content_size = subpage.content | strip | size %} | ||
{% if content_size > 0 %} | ||
<li> | ||
<!-- <a href="{{site.base_url}}{{ subpage.url }}" class="{% if currentPageUrl contains subpage.url %}active{% endif %}">{{ subpage.title }}</a>--> | ||
<a href="{{ subpage.url | relative_url }}" class="{% if currentPageUrl contains subpage.url %}active{% endif %}">{{ subpage.title }}</a> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
</ol> |
This file contains 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,49 @@ | ||
{% if page.path contains '_appendixes' %} | ||
{% assign loopPages = site.appendixes | sort: "order" %} | ||
{% else %} | ||
{% assign loopPages = include.pages | sort: "order" %} | ||
{% endif %} | ||
|
||
{% for page in loopPages %} | ||
{% if page.parents contains page.url %}active{% endif %} | ||
{% assign content_size = page.content | strip | size %} | ||
{% if include.currentMainParent == page.mainParent %} | ||
|
||
{% assign pageChilds = page.childs | split:',' %} | ||
{% for pageChild in pageChilds %} | ||
{% assign pageChildStripped = pageChild | downcase | remove: " " %} | ||
{% assign currentPageTitleStripped = currentPageTitle | downcase | remove: " " %} | ||
{% if pageChildStripped == currentPageTitleStripped %} | ||
{% assign activeParent = true %} | ||
{% break %} | ||
{% else %} | ||
{% assign activeParent = false %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% assign subpages = site.pages | where: "parent", page.id | sort: "order" %} | ||
<li class="leaf {% if subpages.size > 0 %}expandable{% endif %} {% if currentPageUrl contains page.url %}active{% endif %} {% if activeParent %}active{% endif %}"> | ||
{% if include.level %} | ||
{% if content_size == 0 %} | ||
<div><span>{{ page.title }}</span></div> | ||
{% else %} | ||
<!-- <a href="{{site.base_url}}{{ page.url }}" class="{% if currentPageUrl contains page.url %}active{% endif %}">{{ page.title }}</a>--> | ||
<a href="{{ page.url | relative_url }}" class="{% if currentPageUrl contains page.url %}active{% endif %}">{{ page.title }}</a> | ||
{% endif %} | ||
{% endif %} | ||
|
||
{% if page.path contains '_appendixes' %} | ||
{% if content_size != 0 %} | ||
<a href="{{ page.url | relative_url }}" class="{% if currentPageUrl contains page.url %}active{% endif %}">{{ page.title }}</a> | ||
{% endif %} | ||
|
||
{% endif %} | ||
|
||
{% if subpages.size > 0 %} | ||
<ul class="menu nav"> | ||
{% include toc-sidebar.html pages=subpages currentMainParent=page.mainParent level="secondary" %} | ||
</ul> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} |
This file contains 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,44 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div class="container container-columns"> | ||
<div class="col-sm-9"> | ||
<ol class="breadcrumb"> | ||
<li><a href="{{ "/public" | relative_url }}">Home</a></li> | ||
{% if page.path contains '_appendixes' %} | ||
<!-- Do Nothing --> | ||
{% else %} | ||
<!-- <li><a href="/Table-of-Contents">Table of Contents</a></li> --> | ||
{% endif %} | ||
{% assign pageParents = page.parents | split:';' %} | ||
{% for parent in pageParents %} | ||
{% assign pageParentsDetails = parent| split:':' %} | ||
<li><a href="{{pageParentsDetails[1]}}">{{pageParentsDetails[0]}}</a></li> | ||
{% endfor %} | ||
</ol> | ||
|
||
{% if content.size != 1 %} | ||
{{ content }} | ||
{% else %} | ||
For information on {{page.title}} see: | ||
{% assign currentMainParent = page.mainParent %} | ||
|
||
{% if page.path contains '_appendixes' %} | ||
{% assign loopPages = site.appendixes | where: "parent", "/public" | sort: "order" %} | ||
{% else %} | ||
{% assign loopPages = site.pages | where: "parent", "/public" | sort: "order" %} | ||
{% endif %} | ||
|
||
{% include toc-mainPage-placeholder.html loopPages=loopPages currentMainParent=currentMainParent %} | ||
{% endif %} | ||
|
||
</div> | ||
<div class="col-sm-3"> | ||
<ul class="menu-sidebar"> | ||
{% assign currentPageUrl = page.url %} | ||
{% assign currentPageTitle = page.title %} | ||
{% assign pages = site.pages | where: "parent", "/public" | sort: "order" %} | ||
{% include toc-sidebar.html pages=pages currentPageUrl=currentPageUrl currentMainParent=page.mainParent currentPageTitle=currentPageTitle%} | ||
</ul> | ||
</div> | ||
</div> |
This file contains 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,23 @@ | ||
--- | ||
title: Introduction | ||
layout: page | ||
permalink: /public | ||
parent: "/" | ||
order: 1 | ||
--- | ||
|
||
## Links | ||
|
||
[Charters of our current TCs](charter) | ||
|
||
[CalConnect Major Work Projects](work-in-progress) | ||
|
||
[Timezone changes knowledge base](DateTime) | ||
|
||
[Calendar Fest 2021](CalendarFest) | ||
|
||
## Disclaimer | ||
|
||
This site is maintained by people involved in the development of calendaring and scheduling standards and/or implementations. Although the content contributors are employed by a range of commercial and non-profit organizations, this site does not represent the views or opinions of those organizations. | ||
|
||
Please note that the authors of this site have not made any attempt to confirm support for any of the implementations, products or services listed on this site. |
This file contains 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,5 @@ | ||
--- | ||
layout: toc | ||
title: Table of Contents | ||
--- | ||
|