samanthacsik / samanthacsik.github.io Goto Github PK
View Code? Open in Web Editor NEWmy personal website, built using Quarto
Home Page: https://samanthacsik.github.io/
my personal website, built using Quarto
Home Page: https://samanthacsik.github.io/
Took me a while to track down the Google slides where I created this diagram of a Quarto website/blog repo structure from this blog post. Saving here for easier access!
...should probably add to a wiki
.qmd
file for my resources page, copied content over from .Rmd
file and linked to navbar in _quarto.yml
quarto install extension quarto-ext/fontawesome
{}
to hashpipes, #|
; quarto uses -
rather than _
as a separator and booleans are lowercase (e.g. true
, false
) rather than uppercase (e.g. TRUE
, FALSE
)Quarto:
title: title here
author:
- name: Samantha Csik
- orcid: ####-####-####-####
- affiliation: Master of Environmental Data Science & the National Center for Ecological Analysis & Synthesis
- affiliation_url: https://bren.ucsb.edu/masters-programs/master-environmental-data-science
versus distill:
title: title here
author:
- first_name: "Samantha"
- last_name: "Csik"
- orcid_id: ####-####-####-####
- affiliation: Master of Environmental Data Science & the National Center for Ecological Analysis & Synthesis
- affiliation_url: https://bren.ucsb.edu/masters-programs/master-environmental-data-science
[cat1, cat2]
) while distill is listed:category:
- cat1
- cat 2
Quarto preview image option: image: preview_image.png
vs. distill option: preview: preview_image.png
adding citation links:
citation:
url: https://samanthacsik.github.io/talks/2022-08-05-creating-your-personal-website-using-quarto/
There may be a more sophisticated way of doing this, but these were the steps I took:
samanthacsik.github.io
-- I first needed to free the domain name by unpublishing the distill website. To do this, go to Settings > Pages > click the three dots next to Visit Site > Unpublish sitesamanthacsik.github.io
. I renamed mine to samanthacsik-distill-site by going to Settings > General > Rename site (type new name in the box at the top of the page)samanthacsik.github.io
./docs
and not /root
fontawesome icons weren't working so removed from a number of workshop pages. Also, come back to centering buttons
Or something similar? Can showcase the following:
Created with Adobe Express Free Logo Service: https://www.adobe.com/express/create/logo
Fonts:
Montserrat Alternative, size 101.8 (thicker text)
Lato Hairline, size 132 (thinner text)
Relief Single Line Regular, size 294.3 (short logo)
Montserrat, size 132
Yes I was stalking your website late at night for inspiration, I won't apologize! 🤪
Anyways... I saw in your index.qmd for your customizing quarto workshop page that you tried to center some buttons but that it didn't work (since they aren't centered on your site).
I would like to oh-so-humbly recommend the use of the following code:
<center>
[your button code]
[your second button code]
</center>
I used that on a page I'm still developing and it worked out 👀 okay bye!
So I can find my way back to these:
.scss
fileposts
-- this is where your blog posts will eventually live_metadata.yml
file to your posts
directory using touch _metadata.yml
in the terminal -- options specified in this file will apply to all documents inside the posts
folder. NOTE: this is not required, but can make your life easier if you want certain options to apply to all blog posts that you create. You may want to start with the following options:# options specified here will apply to all posts in this folder
# freeze computational output
# (see https://quarto.org/docs/projects/code-execution.html#freeze)
freeze: true
# Enable banner style title blocks
title-block-banner: true
posts.qmd
to root directory -- this is your "listing page" where all your blog post previews will appearposts.qmd
(just some options included below, not all are necessary, some are set to defaults):---
title: "posts"
listing:
contents: posts
sort: "date desc"
type: grid
grid-item-border: true
grid-item-align: left
max-description-length: 175
date-format: medium
categories: true
---
posts.qmd
to your website's navbar in _quarto.yml
posts
folder and add an index.qmd
file to that subdirectory (e.g. posts/my_first_blog_post/index.qmd
)index.qmd
files:---
title: "blog post title"
description: |
blog post description (appears underneath the title in smaller text) which is included on the listing page
author: "Samantha Csik"
date: 09-24-2021
categories: [distill, R] # self-defined categories
image: preview_image.jpg
---
index.qmd
file before you build your site using the Render Website button. You only need to do this the first time you publish your post, unless your specify freeze: true
and subsequently make changes to your post.Needed a place to job down random things; need to organize better soom.
HTTP protocol: there's a url that specifies the location + there can then be query parameters, which are designated by a ?
+ anything that follows
E.g. UC Census Bureau (not a very nicely-documented API...)
api.census.gov/data/2021/pep/population?get=DENSITY_2021,POP_2021,NAME,STATE&for=region:*&key=YOUR_KEY
get
, for
, key
: all accepted query string parameterskey
is your API keyA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.