Skip to content

Commit 763cd3a

Browse files
committed
make some style changes
1 parent aeaa79c commit 763cd3a

File tree

5 files changed

+26
-22
lines changed

5 files changed

+26
-22
lines changed

_config.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
1414
# You can create any custom variable you would like, and they will be accessible
1515
# in the templates via {{ site.myvariable }}.
16-
title: Just the Docs
17-
description: A Jekyll theme for documentation
16+
title: SIGExample
17+
description: A sample SIG website for ACM@UIUC
1818
baseurl: "" # the subpath of your site, e.g. /blog
19-
url: "https://just-the-docs.com" # the base hostname & protocol for your site, e.g. http://example.com
20-
repository: just-the-docs/just-the-docs # for github-metadata
19+
url: "https://sigexample.acm.illinois.edu" # the base hostname & protocol for your site, e.g. http://example.com
20+
repository: acm-uiuc/sig-website-jekyll-theme # for github-metadata
2121

2222
permalink: pretty
2323

@@ -108,10 +108,12 @@ mermaid:
108108
# Enable or disable heading anchors
109109
heading_anchors: true
110110

111+
nav_footer_custom: ''
112+
111113
# Aux links for the upper right navigation
112114
aux_links:
113-
"Just the Docs on GitHub":
114-
- "https://github.com/just-the-docs/just-the-docs"
115+
"ACM @ UIUC":
116+
- "https://acm.illinois.edu"
115117

116118
# Makes Aux links open in a new tab. Default is false
117119
aux_links_new_tab: false
@@ -125,9 +127,9 @@ nav_enabled: true
125127
nav_sort: case_sensitive # Capital letters sorted before lowercase
126128

127129
# External navigation links
128-
nav_external_links:
129-
- title: Just the Docs on GitHub
130-
url: https://github.com/just-the-docs/just-the-docs
130+
# nav_external_links:
131+
# - title: GitHub
132+
# url: https://acm.illinois.edu
131133

132134
# Show navigation error report
133135
nav_error_report: true # default is false/nil.
@@ -143,14 +145,14 @@ liquid:
143145
back_to_top: true
144146
back_to_top_text: "Back to top"
145147

146-
footer_content: 'Copyright &copy; 2017-2020 Patrick Marsceill. Distributed by an <a href="https://github.com/just-the-docs/just-the-docs/tree/main/LICENSE.txt">MIT license.</a> <a href="https://www.netlify.com/">This site is powered by Netlify.</a>'
148+
# footer_content: ''
147149

148150
# Footer last edited timestamp
149151
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
150152
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
151153

152154
# Footer "Edit this page on GitHub" link text
153-
gh_edit_link: true # show or hide edit this page link
155+
gh_edit_link: false # show or hide edit this page link
154156
gh_edit_link_text: "Edit this page on GitHub"
155157
gh_edit_repository: "https://github.com/just-the-docs/just-the-docs" # the github URL for your repo
156158
gh_edit_branch: "main" # the branch that your docs is served from

_includes/components/sidebar.html

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@
1212
<div class="side-bar">
1313
<div class="site-header" role="banner">
1414
<a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a>
15+
<hr />
16+
<a class="site-title lh-tight">{% include subtitle.html %}</a>
1517
<button id="menu-button" class="site-button btn-reset" aria-label="Toggle menu" aria-pressed="false">
1618
<svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg>
1719
</button>
1820
</div>
1921

2022
{% include_cached components/site_nav.html %}
21-
22-
{% capture nav_footer_custom %}
23-
{%- include nav_footer_custom.html -%}
24-
{% endcapture %}
25-
{% if nav_footer_custom != "" %}
26-
{{ nav_footer_custom }}
27-
{% else %}
28-
<footer class="site-footer">
29-
This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.
30-
</footer>
31-
{% endif %}
23+
<footer class="site-footer">
24+
{% if site.nav_footer_custom != "" %}
25+
{{ site.nav_footer_custom }}
26+
{% endif %} <br />
27+
{{site.title}} is a member of <a href="https://acm.illinois.edu"><img style="width: 50%;" src="/assets/images/acm-wordmark.png"/></a>.
28+
</footer>
3229
</div>

_includes/footer_custom.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{%- if site.footer_content -%}
22
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
3+
{%- else -%}
4+
<p class="text-small text-grey-dk-100 mb-0">Copyright &copy; {{ site.time | date: '%Y' }} by {{ site.title }}, a member of ACM@UIUC.</p>
35
{%- endif -%}

_includes/subtitle.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% if site.subtitle %}
2+
{{ site.subtitle }}
3+
{% endif %}

assets/images/acm-wordmark.png

30.2 KB
Loading

0 commit comments

Comments
 (0)