GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hackutk/hackutk.github.io: HackUTK Website

BranchesTags
Open more actions menu

Latest commit

 

History

111 Commits
111 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
content
content
 
 
layouts
layouts
 
 
static
static
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
config.yaml
config.yaml
 
 

Repository files navigation

HackUTK Website

This website is built using Hugo, a static site generator. That means it contains template files in layouts/ and content files in content/, and these two things get combined to generate the website's HTML.

Development Information

To run the server locally, open up a terminal and run:

$ hugo server

Browse to localhost:1313 on your web browser to see the site.

/layouts

layouts contains snippets of HTML, for example here's banner.html:

<section id="banner">
	<img class="logo" src="/images/logos/transparent_logo.png" />
	<p>The University of Tennessee's resident computer security organization.</p>
	<ul class="actions">
		<li><a href="https://goo.gl/forms/WBSZ9DwdjVdICwMf1" target="_blank" class="button">Join HackUTK</a></li>
		<li><a href="http://discord.hackutk.org/" target="_blank" class="button">Join our Discord</a></li>
		<li><a href="#sponsors" class="button">Our Sponsors</a></li>
	</ul>
	<ul class="actions">
		<li><a href="https://goo.gl/forms/KfmliuYvuiI49qtC3" class="button">Sign up for CTF</a></li>
	</ul>
</section>

Basically, in Hugo, you store these HTML snippets in /layouts, then whenever you want to use them, you call them like this in your HTML/Markdown files:

From /content/_index.md:

{{ partial "banner.html" . }}

Site Configuration Variables

If you want to use a variable in your HTML (doesn't work in Markdown), put it in config.yaml underneath params:. For example:

params:
  ctf_signup_url: "https://goo.gl/forms/KfmliuYvuiI49qtC3"

Now, anytime you want to reference that variable in your HTML, call it like this:

<li><a href="{{ .Site.Params.ctf_signup_url }}" class="button">Sign up for CTF</a></li>

About

HackUTK Website

hackutk.org

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

7 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.