mitodl / ocw-to-hugo

A command line utility for taking master.json output from ocw-data-parser and producing markdown for use with hugo-course-publisher
3 stars 0 forks source link

pull in description property of course pages #513

Closed gumaerc closed 2 years ago

gumaerc commented 2 years ago

Pre-Flight checklist

What are the relevant tickets?

Closes https://github.com/mitodl/ocw-to-hugo/issues/512

What's this PR do?

This PR pulls in the description property of course_pages items and sets it on the front matter of pages. These are plain text descriptions that will be used for meta tags in the head for the purpose of search indexing.

How should this be manually tested?

codecov-commenter commented 2 years ago

Codecov Report

Merging #513 (fa5f0d1) into master (75e5b69) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #513   +/-   ##
=======================================
  Coverage   96.33%   96.33%           
=======================================
  Files          18       18           
  Lines        2130     2130           
=======================================
  Hits         2052     2052           
  Misses         78       78           
Impacted Files Coverage Δ
src/markdown_generators.js 97.22% <ø> (ø)
src/markdown_generators_test.js 90.50% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 75e5b69...fa5f0d1. Read the comment docs.