Skip to content
Back to skills

Blogdown

ASecurity

R blogdown package for creating blogs with Hugo. Use for building static websites and blogs with R Markdown.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 5, 2026
datagogit

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill blogdown --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Blogdown?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Blogdown
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-blogdown/badge)](https://www.skillsdirectory.com/skills/leolin990405-blogdown)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: blogdown
description: R blogdown package for creating blogs with Hugo. Use for building static websites and blogs with R Markdown.
---

# blogdown

Create blogs and websites with R Markdown.

## Getting Started

```r
library(blogdown)

# Create new site
new_site(theme = "yihui/hugo-lithium")

# Serve site locally
serve_site()

# Stop server
stop_server()
```

## New Content

```r
# New post
new_post("My First Post")

# With options
new_post(
  title = "My Post",
  author = "Name",
  categories = c("R", "Tutorial"),
  tags = c("ggplot2", "visualization")
)

# New page
new_content("about.md")
```

## Build

```r
# Build site
build_site()

# Build to specific directory
build_site(local = TRUE)

# Check site
check_site()
```

## Configuration

```yaml
# config.yaml
baseurl: "https://example.com/"
title: "My Blog"
theme: "hugo-lithium"

params:
  author: "Your Name"
  description: "Blog description"

menu:
  main:
    - name: "About"
      url: "/about/"
    - name: "GitHub"
      url: "https://github.com/username"
```

## Post Front Matter

```yaml
---
title: "Post Title"
author: "Author Name"
date: "2024-01-15"
categories: ["R"]
tags: ["visualization", "ggplot2"]
---
```

## Themes

```r
# Install theme
install_theme("gcushen/hugo-academic")

# Popular themes:
# - yihui/hugo-lithium (simple)
# - gcushen/hugo-academic (academic)
# - wowchemy/starter-hugo-academic
# - nanxstats/hugo-renga
```

## Deployment

```r
# Build for deployment
build_site()

# Deploy to Netlify (drag public/ folder)
# Or connect GitHub repo to Netlify

# Hugo version for Netlify
# netlify.toml:
# [build]
#   publish = "public"
#   command = "hugo"
# [build.environment]
#   HUGO_VERSION = "0.120.0"
```

## Utilities

```r
# Find Hugo
find_hugo()

# Install Hugo
install_hugo()

# Update Hugo
update_hugo()

# Check content
check_content()
check_netlify()
check_hugo()
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.