Jamstack ????? ? ??? ??? ? ??? ?? ????. Gatsby, Nuxt ?? Gridsome? ?? ????? ?? ???? ?? ?? ? ??? ?? ??????. ??? ?? ??? ?? ?? ??? ??? ???? ??? ???? ?? ??? ?????. ?? ? ?? ???? ??? ??? ??? ? ?????
Jamstack?? ????? ?? ?? ??? ?????. ?? ???? ??? ??? ??? ?????. Algolia? Search-as-A-Service (?? ?? ?? ??)? ?? ??? ????? WPGRAPHQL ? APOLLO ?????? ??? WordPress? ?? ??? ?? ??? ???? ??? ????? ? ???? ??? ???.
?? ?? ????? ????? ??? ?? ??? ??? ???? ?? JavaScript ????? ? LUNR.JS? ???? ?? ??? ???? ??? Gatsby ???? ?????. ?? Tartanify.com?? "Tartan ?? ??"??? ???? ?? ??? ??? ??? ??? ??????. ? ??? ??? ??? ???? ??? ?????.
????
?????? ?? ?? ??? ??? ???? ???????. ??? ?? ? ??? ??? ?? ??? ??????. ??? ? :
Gatsby New Gatsby-Starter-Blog https://github.com/gatsbyjs/gatsby-starter-blog CD ??? ??? ??? ???? ??
??? http://localhost:8000/
?? ??? ? ??? 3 ?? ?????? ?? ???? ????. http://localhost:8000/__graphql
?? ?? ??? ???? ?????.
LUNR.JS? ? ??? ?????
LUNR? ??? ?? ? ??? ?????. ??? ???? ? ??? ?? ?? (??? ??)??????. ??? ???? ???? ?? (??, ??, ?? ?)? ?????.
???? ?? ??? ???? ?????. ??? ????? ??? ??? ?????. ?? ?? ???? ?? ??? rawMarkdownBody
???? ??? ??????. html
??? striptags
???? ???? HTML ??? ?????. ??? ??? LUNR ??? ??????.
LUNR ?? ?? ? ?? ? ?? ( gatsby-node.js
?? ??? ??)? ??? ????.
const index = lunr (function () { this.ref ( '???') this.field ( '??') this.field ( 'content') for (??? const doc) { this.add (doc) } })
documents
?? slug
, title
? content
??? ?? ?????.
{ ??? : '/post-slug/', ?? : '??? ??', ?? : '?? HTML ??? ?? ? ??? ??????.' }
?? ? ?? ? ( slug
)? ? ?? ?? ( title
? content
)? ?????. ?? ??? ????? ?????.
gatsby-node.js
?? ??? ??
?? ??? ?????? ??????.
?? LUNR GraphQL-Type-JSON Striptags? ?????
???? gatsby-node.js
??????. ? ??? ??? ?? ?? ????? ??? ??? ?? ? ? ????. Gatsby API createResolvers
???? ??? ?? ?? ? LunrIndex
????.
Gatsby? ??? ??? ? ?? ??? GraphQL ?? ???? ?? ?????. getAllNodes
??? ??? ??? ?????.
/ * gatsby-node.js */ // ... (?? ??) Exports.CreaterSolvers = ({??, ??? ??}) => { Createresolvers ({ ?? : { lunrindex : { ?? : GraphQljsonObject, ?? : (??, args, ????, ??) => { const blognodes = context.nodemodel.getAllNodes ({type :`markDownRemark`}); const type = info.schema.getType ( 'MarkdownRemark'); return createIndex (blognodes, type, cache); }, }, }, }); }; // ... (CreateIndex ??)
createIndex
??? LUNR ? ??? ?????.
/ * gatsby-node.js */ // ... (?? ??) const createIndex = async (blognodes, type, cache) => { // ... (??? ???? ???? ?? ???? ??) };
(??? ?? ??, ?? ? ??? ??? ??? createIndex
??? ???? ????? ?? ???? ?????. ?? ???? ?? ??? ?????.) ????? ??? ???? ???? ????????.
?? ?? ?? ?? ??
?? ?? ?? ?? ?? ( src/components/search-form.js
) :
// ... (?? ?? ?? ?? ??)
(??? ?? ?? ??? ???? ?? ????? ?? ??? ??? ???? ????.)? ?? ??? ?? ?? ??? ?? /search
?? ?? ? ?? ??? ?????.
?? ?? ??? ??
?? ?? ??? ?? ??? ( src/pages/search.js
) :
// ... (?? ?? ??? ??)
(?? ??? ??? ???? ????? ?? ??? ??? ???? ????.)? ???? LunrIndex
???? ???? ?? ??? ?????.
?? ?? ?? (tartanify.com ??)
tartanify.com ??? ???? ???? ?? ??? ?????. ??? ??? ??? ??? ????? ?????.
// ... (tartanify.com? ?? ??)
(??? ??? ???? ?? ?????? ?? ??? ??? ???? ????.) ?? ???? ?? ??? ?? ?? ??? ?? ??? ? ???? ?? ?????. useStaticQuery
hook? ??? ?? ??? ?????.
??? ????? ????
??? ??? ?? ?? ??? ???? ?? Gatsby? wrapPageElement
API? ?????.
// Gatsby-Browser.js // ... (WaprageElement ??)
(??? ??? ?? ??? ??? ???? ????.) ??? ?? ???? ??? ??? ??? ???? ?????.
??? ?? ?? ?? ??
?? ??? LUNR? query
???? ???? ?? ??? ??? ?? ?? ??, ??? ?? ? ?? ??? ? ?? ?? ??? ?????. ? ????? ?? ??? ?? ??????.
??
Jamstack ? ????? ?? ??? ??? ? ??? ??? ??? ?? ???? ? ????. Jamstack? ??? ??? ???? ??? ???? Lunr.JS? ?? ????? ? ???? ???? ??? ??? ?????. ? ??? ??? ?? ? ??? ?? ??? ??? ?? ?? ?? ? ??? ?? ??? ??? ??? ?? ? ??? ???? ?????.
? ??? Gatsby ? ???? LUNR ??? ???? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











CSS? ??? ??? ????? ????? ??? ? ?? CSS? ????? ?? ??????, ?? ?? ? ??? ??, ??? ?? ?? ??? CSS ? ????? ?? ??? ?? ???? ???? ??? ??? ???. 1. ?? CSS? ???? HTML? ?? ?????. 2. JavaScript? ?? ??? CSS ??; 3. ??? ??? ???? ?? ???? ????? ??????. 4. CSS? ???? ???? ??? ????. ?? CSS? ???? ?? ??? ???? Rel = "Preload"?????? ????, ??? ?? ??? ????? ???? ??? ?? ? ??? ???? ??? ?????.

TheBestoproachforcssdspectionseproject'sspecificneeds.forlargerProjects, externalcsSisbetterduetomainabainabainabilitableability ? forsmallerprojectsorsingle-pageapplications, ?? csmightbemoresuitable.it 'scrucialtobalanceprojectsize, ??

???, cssdoesnothavetobeInlowercase. ???, lowercaseisRecomedended for : 1) ??? ? ??, 2) ??? ?? rorsinerrorsinerrorsIngerRorsIngerRorsInteChnologies, 3) ??? ?? ??, ? 4) ?? ? ???? ????.

cssismostlycase-Insensitive, buturlsandfamilynamesarecase-insensitive.1) propertiesandvalueslikecolor : red; anteOtcase-inditive.2) urlsmustmatchtheserver'scase, ?? ??,/images/logo.png.3) fontfamilynames'opens'mustoccase.

AutoPrefixer? ?? ???? ??? ???? ?? ?? ???? CSS ??? ???? ???? ?????. 1. ????? ???? ???? ???? ??? ?????. 2. PostCSS ???? ??, CSS? ?? ???? ???? ?? ???? ??? ???? ??? ?? ??? ?????. 3. ?? ???? ???? ??, ??????? ?? ? ?? ???????? ????? ?? ?????. 4. ???? ???? ???? ???? ?? ?? ????, ???? ?? ??? ?? ???? ???? ????? ?? ???? ?? ????.

CSSCOUNTERSCANAUTOMALLYNUMBERSESSESSENDS.1) USECOUNTER-RESETTIONITIALIZE, CORKENT-INCREMENTTOINCERES, andCOUNTER () ORCOUNTERS () TODISPLAYVALUES.2) COMPINEWITHJAVAISCRIPTORDINAMICCONTENTTOEREACCUTERUPDATES.

CSS?? ??? ? ?? ??? ?? ??? ???? ??, ??, URL ? ??? ?? ????? ?? ?? ??? ?????. 1. ???? ?? ??? ??? ? ???? ?? ?? ??? ??????. 2. ?? 16 ?? ??? ?? ??? ?????, ??? ???? ???? ?? ??? ??? ???? ????. 3. URL? ??? ???? ???? ??? ??? ? ????. 4. ??? ?? ?? (??)? ??? ???? ??? ? ???? ??????? ???????.

theconic-gradient () functionincsscreatescurcular gradientsthattroTecolorstopsaroundacentral point
