Skip to content

Commit

Permalink
make some style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devksingh4 committed Sep 29, 2024
1 parent aeaa79c commit 763cd3a
Showing 5 changed files with 26 additions and 22 deletions.
24 changes: 13 additions & 11 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -13,11 +13,11 @@
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Just the Docs
description: A Jekyll theme for documentation
title: SIGExample
description: A sample SIG website for ACM@UIUC
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://just-the-docs.com" # the base hostname & protocol for your site, e.g. http://example.com
repository: just-the-docs/just-the-docs # for github-metadata
url: "https://sigexample.acm.illinois.edu" # the base hostname & protocol for your site, e.g. http://example.com
repository: acm-uiuc/sig-website-jekyll-theme # for github-metadata

permalink: pretty

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

nav_footer_custom: ''

# Aux links for the upper right navigation
aux_links:
"Just the Docs on GitHub":
- "https://github.com/just-the-docs/just-the-docs"
"ACM @ UIUC":
- "https://acm.illinois.edu"

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

# External navigation links
nav_external_links:
- title: Just the Docs on GitHub
url: https://github.com/just-the-docs/just-the-docs
# nav_external_links:
# - title: GitHub
# url: https://acm.illinois.edu

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

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>'
# footer_content: ''

# Footer last edited timestamp
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
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

# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link: false # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub"
gh_edit_repository: "https://github.com/just-the-docs/just-the-docs" # the github URL for your repo
gh_edit_branch: "main" # the branch that your docs is served from
19 changes: 8 additions & 11 deletions _includes/components/sidebar.html
Original file line number Diff line number Diff line change
@@ -12,21 +12,18 @@
<div class="side-bar">
<div class="site-header" role="banner">
<a href="{{ '/' | relative_url }}" class="site-title lh-tight">{% include title.html %}</a>
<hr />
<a class="site-title lh-tight">{% include subtitle.html %}</a>
<button id="menu-button" class="site-button btn-reset" aria-label="Toggle menu" aria-pressed="false">
<svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg>
</button>
</div>

{% include_cached components/site_nav.html %}

{% capture nav_footer_custom %}
{%- include nav_footer_custom.html -%}
{% endcapture %}
{% if nav_footer_custom != "" %}
{{ nav_footer_custom }}
{% else %}
<footer class="site-footer">
This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.
</footer>
{% endif %}
<footer class="site-footer">
{% if site.nav_footer_custom != "" %}
{{ site.nav_footer_custom }}
{% endif %} <br />
{{site.title}} is a member of <a href="https://acm.illinois.edu"><img style="width: 50%;" src="/assets/images/acm-wordmark.png"/></a>.
</footer>
</div>
2 changes: 2 additions & 0 deletions _includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{%- if site.footer_content -%}
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
{%- else -%}
<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>
{%- endif -%}
3 changes: 3 additions & 0 deletions _includes/subtitle.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% if site.subtitle %}
{{ site.subtitle }}
{% endif %}
Binary file added assets/images/acm-wordmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 763cd3a

Please sign in to comment.