Skip to content
AGRC static jekyll website
HTML Other
  1. HTML 99.0%
  2. Other 1.0%
Branch: master
Clone or download
rkelson and steveoh edit contacts
change 'lir_parcels' from Sean to Rick
change 'discover' and 'google' from Rick to Jake
Latest commit 972409b Aug 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: no one uses this properly Apr 30, 2019
.vscode feat: update custom spellings Jan 21, 2019
_data
_drafts publish foss4g post Sep 11, 2017
_includes fix: spacing between multiple contacts Jul 31, 2019
_layouts fix: use whitespace control on liquid templates Jul 25, 2019
_plugins
_posts august road update post (#1191) Aug 8, 2019
_sass fix: remove extra padding on search bar Jul 29, 2019
about Contacts: add Jake's info Jun 6, 2019
agol/storymaps 📦 Mar 2, 2017
agrc-newsletter feat: add june newsletter link Jun 26, 2019
bower_components/lozad
css add some basic colors Sep 11, 2018
data fix: add space Aug 13, 2019
developer dont' show crumbs on top level items Apr 12, 2018
discover fix: strip_newlines is no longer necessary Jul 25, 2019
downloads feat: add full reference list Mar 12, 2019
gis-data-sharing dont' show crumbs on top level items Apr 12, 2018
gps links to registration not working Jun 25, 2019
images 📦 images Aug 13, 2019
js View counter (#800) Mar 9, 2018
license-disclaimer
news dont' show crumbs on top level items Apr 12, 2018
opendata minify all images Dec 27, 2017
scripts feat: udpate caption css Mar 12, 2019
search
sgid-database dont' show crumbs on top level items Apr 12, 2018
.eslintrc update aslant Mar 25, 2016
.gitattributes
.gitignore replace gspread with pygsheets Feb 21, 2018
.ruby-version chore: update ruby May 22, 2019
.scss-lint.yml bring in some dev things Mar 7, 2016
404.html Update tracking events Dec 29, 2017
CODE_OF_CONDUCT.md
Gemfile chore: update jekyll May 22, 2019
GruntFile.js don't run all imagemin tasks by default Mar 28, 2018
LICENSE Update year Aug 14, 2017
README.md fix: strip_newlines is no longer necessary Jul 25, 2019
_config.yml
_headers
_redirects
atom.xml use canonical form Oct 18, 2016
bower.json use font awesome 5 Jan 4, 2018
docker-compose.yml revert May 24, 2018
favicon.ico feat: update favicon Jan 9, 2019
feed.xml fix rss path Oct 18, 2016
index.html chore: remove ugic May 9, 2019
package-lock.json chore: update npm packages May 23, 2019
package.json
robots.txt implement a properish sitemap.xml Sep 25, 2017
sitemap.txt Updates Mar 2, 2016
sitemap.xml implement a properish sitemap.xml Sep 25, 2017
stats.md Standardize front matter Mar 1, 2018
tags.html Standardize front matter Mar 1, 2018

README.md

gis.utah.gov

Read about our new website. Contribute content or typos. License: MIT.

Netlify Status

Local Development

  1. Check out this repository
  2. run docker-compose up
  3. browse to localhost:4000
  4. run docker pull jekyll/jekyll to update your image

Common Website Tips

_italics_
**bold**
_**bold italics**_
- list

link to page

  • markdown
[link text]({{ "/path/to/item/" | prepend: site.baseurl }})
  • html
<a href="{{ "/path/to/item/" | prepend: site.baseurl }}">link text</a>

link to post:

  • markdown
[link text]({{site.baseurl}}{% post_url 2016-05-26-file-name-without-extension %})
  • html
<a href="{{site.baseurl}}{% post_url 2016-05-26-file-name-without-extension %}">link text</a>

external link

  • markdown
[link text](http://external.website.location)

images

  • markdown
![alt text]({{ "/path/to/item/" | prepend: site.baseurl }})
  • html
<img src="{{ "/path/to/image.jpg" alt="hover text" | prepend: site.baseurl }}"/>

link alt text

[link text]({{ "/path/to/item/" | prepend: site.baseurl }} "popup text")

css in markdown

![alt text]({{ "/path/to/item/" | prepend: site.baseurl }})
{: .css-class-name}

font matter

  • page - the post vs page layout
  • title: Title - the title of the content
  • author.display_name: Full Name - The author of the content
  • author.email: email@address - The author email
  • date: 2018-02-13 - the date the content was created
  • update_date: 2018-02-13 - this will show in under the title that the page has been updated
  • tags: a list of tags
  • categories: Featured|Developer|SGID Blog|GPS-surveyor|Guestblog
  • published: true|false

contact information

Contacts are managed in a yml file. Please do not put email addresses directly into content.

The include has a few properties:

  • subject: the subject of the email link. Most of the time using page.title is good enough™

  • contact: the contact in the yml file to create

  • text: update this to change the default text generated

  • hide-punctuation: set this to true if you would like to remove the . at the end of the text

  • markdown

{% capture contact %}{% include contact.html subject=page.title contact=site.data.contacts.agrc %}{% endcapture %}
{{ contact }}
  • html
{% include contact.html subject=page.title contact=site.data.contacts.agrc %}
You can’t perform that action at this time.