MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / mapMetaTag

Function mapMetaTag

helpers/config-node.js:215–237  ·  view source on GitHub ↗
( tag )

Source from the content-addressed store, hash-verified

213}
214
215function mapMetaTag ( tag ) {
216
217 if ( tag.hasOwnProperty('property') ) {
218 return [
219 `property-${tag.property}`,
220 makeTag(tag)
221 ]
222 }
223
224 if ( tag.hasOwnProperty('name') ) {
225 return [
226 `name-${tag.name}`,
227 makeTag(tag)
228 ]
229 }
230
231 if ( tag.hasOwnProperty('charset') ) {
232 return [
233 'charset',
234 makeTag(tag)
235 ]
236 }
237}
238
239function mapLinkTag ( tag ) {
240 return [

Callers

nothing calls this directly

Calls 1

makeTagFunction · 0.85

Tested by

no test coverage detected