Skip to content

PaulApivat/paulapivat

Repository files navigation

paulapivat

Website and Portfolio

Quick Start

  • navigate to correct directory (/RCode/paulapivat)
  • blogdown::serve_site()

Setup

Alison Hill, 'Up & Running with blogdown'

Netlify Deployment

Resource

see netlify.toml add HUGO_VERSION = 'x.xx.x'

Customizing Acadmic Theme

Academic Theme Documentation

Theme Color

/_ Color Theme Swatches in Hex _/ .Alizarin-crimson-1-hex { color: #171717; } .Alizarin-crimson-2-hex { color: #631111; } .Alizarin-crimson-3-hex { color: #E32626; } .Alizarin-crimson-4-hex { color: #8F7474; } .Alizarin-crimson-5-hex { color: #F5F5F5; }

/_ Color Theme Swatches in RGBA _/ .Alizarin-crimson-1-rgba { color: rgba(22, 22, 22, 1); } .Alizarin-crimson-2-rgba { color: rgba(99, 16, 16, 1); } .Alizarin-crimson-3-rgba { color: rgba(226, 38, 38, 1); } .Alizarin-crimson-4-rgba { color: rgba(142, 115, 115, 1); } .Alizarin-crimson-5-rgba { color: rgba(244, 244, 244, 1); }

/_ Color Theme Swatches in HSLA _/ .Alizarin-crimson-1-hsla { color: hsla(0, 0, 9, 1); } .Alizarin-crimson-2-hsla { color: hsla(0, 71, 22, 1); } .Alizarin-crimson-3-hsla { color: hsla(0, 77, 51, 1); } .Alizarin-crimson-4-hsla { color: hsla(0, 10, 50, 1); } .Alizarin-crimson-5-hsla { color: hsla(0, 0, 96, 1); }

Fonts

Google Font: family=Domine:wght@400;700

Homepage Widgets

Inactive

active = false

  • projects (50)
  • accomplishment (65)
  • hero
  • featured
  • publications
  • experience
  • talks

Active (weights, ordering)

active = true

  • demo (15)
  • about (20)
  • posts (60)
  • gallery (66)
  • tags (120)
  • contact (130)

Menu (weights)

  • path: paulapivat/config/_default/menus.toml

  • Start Here ('#', 10)

  • About ('#about', 15)

  • [inactive] Projects ('#projects', 20)

  • Posts ('#posts', 30)

  • [inactive] News ('#accomplishments', 40)

  • Viz ('#gallery', 45)

  • [inactive] Courses ('courses/', 50)

  • Contact ('#contact', 60)

Edit Start Here section

  • path: paulapivat/content/home/demo.md

Edit About Section

  • path: paulapivat/content/authors/admin/_index.md
  • change profile pic path: paulapivat/content/authors/admin/red_avatar.jpg
  • change 'award' to 'education' in yaml header for this section to re-appear
  • note: education is a yaml parameter, must use "education" for this section to work.

Remove title 'biography' from section head.

  • path: paulapivat/content/home/about.md

Edit Menu

  • path: paulapivat/config/_default/menus.toml

Add Project(s)

  • Files: paulapivat/content/project/
  • Add new folder
  • Inside new folder, add index.md
  • Copy TOML structure from dummy projects
  • To add a main picture for each project page, save jpeg as featured.jpeg and drop it into the project folder.

Add PDF slides for each Project

  • follow this guide

  • Navigate to Folder: content/slides

  • In the slides folder create a project-specific-folder (i.e., wpa)

  • In that folder, create index.md (which controls content of slides)

  • Convert PDF to jpeg using pdftools package

  • pdf_convert("your_pdf.pdf", format = "jpeg", pages = NULL, filenames = NULL, dpi = 300, opw = "", upw = "", verbose = TRUE)

  • dpi is jpeg resolution

  • Fill in index.md with slides (see guide)

  • Return to paulapivat/content/project/project-folder/index.md to change slides value in TOML

  • NOTE: both files are in the content folder, one in slides directory another in project directory they talk to each other although they reside in different directories.

Add Project Filter Button / Tag on Front Page

  • Edit: paulapivat/content/home/projects.md
  • Note must change tags section on each individual project to match

Add Blog Posts (Rmd file, without own folder)

  • path: /content/post/
  • Rmd file
  • NB: file name yyyy-mm-dd-slug note dates must be current or else it won't render
  • NB: within YAML settings, make sure slug is unique or else it will over write another blog post

Add Blog Posts (with own folder)

Edit Blog Section

  • path: paulapivat/content/home/posts.md
  • remove external link to Getwyze.com
  • edit how many blog posts to display (currently 2)

Edit Accomplishments section

  • path: paulapivat/content/home/accomplishments.md
  • active: false

Edit Gallery

  • path: paulapivat/content/home/gallery/gallery

Add Technical Notes

  • add in navigation menu: config/_default/menus.toml
  • add [[main]], name, url, weight (below Courses tab)
  • add content/technical_notes (match technical_notes/ url); same level as courses

Separate Technical Notes from Courses

  • add content/technical_notes/example_tech (folder; distinct from content/courses/example)

  • path content/technical_notes/example_tech/_index.md

  • change yaml: menu: exampletech: (previously _just example)

  • add _index.md, outside example_tech folder (path: content/technical_notes/)

  • change yaml title: technical_notes

  • add _index.md, inside example_tech folder (path: content/technical_notes/example/)

  • change yaml title: Technical Notes Overview

  • change yaml menu: exampletech: (previously _just example)

  • path content/technical_notes/example_tech/technical_notes1.md

  • change yaml menu: example_tech: (note: links to _index.md which also has yaml menu: example_tech: )

  • path content/technical_notes/example_tech/technical_notes2.md

  • change yaml menu: example_tech: (note: links to _index.md which also has yaml menu: example_tech: )

Adding a new technical note

  • path: content/technical_notes/example_tech/file_name_of_new_technical_note.md
  • pay attention to actual file name (e.g., file_name_of_new_technical_note.md)
  • change yaml linktitle: (will appear on side menu)
  • change yaml menu: parent: Topic Heading (will appear on side menu)

Edit Contact Section

  • path: paulapivat/content/home/contact.md
  • active: false