File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -212,25 +212,30 @@ export default defineConfig({
212212 } ,
213213 transformPageData ( pageData ) {
214214 if ( pageData . filePath . startsWith ( "api/" ) ) {
215+ pageData . frontmatter ||= { } ;
215216 pageData . frontmatter . editLink = false ;
216217 pageData . frontmatter . lastUpdated = false ;
217- pageData . frontmatter ||= { } ;
218+ pageData . lastUpdated = undefined ;
218219 pageData . frontmatter . outline = [ 2 , 3 ] ;
219220 pageData . frontmatter . nolebase = {
220221 gitChangelog : false
221222 } ;
222223 }
223224
224225 if ( pageData . filePath . startsWith ( "cli/" ) ) {
226+ pageData . frontmatter ||= { } ;
225227 pageData . frontmatter . editLink = false ;
226228 pageData . frontmatter . lastUpdated = false ;
229+ pageData . lastUpdated = undefined ;
227230 pageData . frontmatter . nolebase = {
228231 gitChangelog : false
229232 } ;
230233 }
231234
232235 if ( pageData . filePath . startsWith ( "blog/" ) ) {
236+ pageData . frontmatter ||= { } ;
233237 pageData . frontmatter . editLink = false ;
238+ pageData . frontmatter . lastUpdated = false ;
234239 pageData . frontmatter . aside = false ;
235240 pageData . frontmatter . outline = false
236241 pageData . frontmatter . nolebase = {
Original file line number Diff line number Diff line change 11---
22title : node-llama-cpp v3.0
33date : 2024-09-23T22:00:00Z
4+ lastUpdated : false
45author :
56 name : Gilad S.
67 github : giladgd
You can’t perform that action at this time.
0 commit comments