File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -917,7 +917,7 @@ module.exports = function(eleventyConfig) {
917917 const parentFeature = findFeatureByDocsLink ( this . page . url ) ;
918918 const subfeatures = findSubfeaturesForDocsPage ( this . page . url ) ;
919919
920- // Parse frontmatter for features array (same format as changelog posts )
920+ // Parse frontmatter for features array — but skip pages with `release` (handled by releaseFeatures )
921921 let fmFeatures = [ ] ;
922922 const inputPath = this . page . inputPath ;
923923 if ( inputPath && inputPath . endsWith ( '.md' ) ) {
@@ -926,6 +926,7 @@ module.exports = function(eleventyConfig) {
926926 const fmMatch = source . match ( / ^ - - - \n ( [ \s \S ] * ?) \n - - - / ) ;
927927 if ( fmMatch ) {
928928 const fm = yaml . load ( fmMatch [ 1 ] ) ;
929+ if ( fm . release ) return content ;
929930 if ( fm . features && Array . isArray ( fm . features ) ) {
930931 fmFeatures = fm . features ;
931932 }
You can’t perform that action at this time.
0 commit comments