<commit_before>import model.Book
import model.Video
import model.Course

layout 'layouts/main.groovy', true,
        pageTitle: 'Grails - Learn',
        extraStyles: ['book.css'],
        mainContent: contents {
            div(id: 'content', class: 'page-1') {
                div(class: 'row') {
                    div(class: 'row-fluid') {
                        div(class: 'col-lg-3') {
                            ul(class: 'nav-sidebar') {
                                li(class: 'active') {
                                    a(href: '#') { strong('Learn') }
                                }
                                li {
                                    a(href: '#onlinetraining', class: 'anchor-link', 'Online Training')
                                }
                                li {
                                    a(href: '#onsitetraining', class: 'anchor-link', 'On-site Training')
                                }
                                li {
                                    a(href: '#guides', class: 'anchor-link', 'Guides')
                                }
                                li {
                                    a(href: '#books', class: 'anchor-link', 'Books')
                                }
                                li {
                                    a(href: '#videos', class: 'anchor-link', 'Presentations')
                                }
                            }
                        }

                        div(class: 'col-lg-8 col-lg-pull-0') {
                            include template: 'includes/contribute-button.groovy'
                            h1 {
                                i(class: 'fa fa-graduation-cap') {}
                                yield ' Learn'
                            }
                            article {
                                p """
                                    To learn Grails, first of all, you will need to ${$a(href: 'documentation.html#gettingstarted', 'get started')}
                                    by installing Grails on your system or project.
                                """
                                p """
                                    Once all set up, we invite you to have a look at the Grails
                                    ${$a(href: 'documentation.html', 'documentation')}, which explains all the details about the framework, 
                                    such as how to use the ${$a(href: 'documentation.html#tools', 'tools')}
                                    that come with a Grails installation.
                                """
                                p """
                                     ${$a(href: 'http://guides.grails.org', 'Grails guides')}, 
                                     ${$a(href: '#onlinetraining', 'courses')}, ${$a(href: '#books', 'books')},
                                     or ${$a(href: '#presentations', 'presentations')}, given about Grails at conferences, are excellent resources 
                                     to learn more about Grails as well. 
                                """
                            
                                hr(class: 'divider')

                                a(name: 'onlinetraining') {}

                                h2 {
                                    i(class: 'fa fa-graduation-cap') {}
                                    yield ' Online Training'
                                }

                                p {
                                    yield '<NAME>, Co-founder of the Grails framework, teaches a series of online '
                                    a(href: 'https://objectcomputing.com/training/catalog/grails/grails-workshops/', 'Grails training courses')
                                    yield '.'
                                }

                                onlineTrainingCatalogue.each {
                                    Course course = it.value
                                    div(class: 'course') {
                                        h2 { a(href: course.url, course.title) }<commit_msg>Fixes #videos link<commit_after>import model.Book
import model.Video
import model.Course

layout 'layouts/main.groovy', true,
        pageTitle: 'Grails - Learn',
        extraStyles: ['book.css'],
        mainContent: contents {
            div(id: 'content', class: 'page-1') {
                div(class: 'row') {
                    div(class: 'row-fluid') {
                        div(class: 'col-lg-3') {
                            ul(class: 'nav-sidebar') {
                                li(class: 'active') {
                                    a(href: '#') { strong('Learn') }
                                }
                                li {
                                    a(href: '#onlinetraining', class: 'anchor-link', 'Online Training')
                                }
                                li {
                                    a(href: '#onsitetraining', class: 'anchor-link', 'On-site Training')
                                }
                                li {
                                    a(href: '#guides', class: 'anchor-link', 'Guides')
                                }
                                li {
                                    a(href: '#books', class: 'anchor-link', 'Books')
                                }
                                li {
                                    a(href: '#videos', class: 'anchor-link', 'Presentations')
                                }
                            }
                        }

                        div(class: 'col-lg-8 col-lg-pull-0') {
                            include template: 'includes/contribute-button.groovy'
                            h1 {
                                i(class: 'fa fa-graduation-cap') {}
                                yield ' Learn'
                            }
                            article {
                                p """
                                    To learn Grails, first of all, you will need to ${$a(href: 'documentation.html#gettingstarted', 'get started')}
                                    by installing Grails on your system or project.
                                """
                                p """
                                    Once all set up, we invite you to have a look at the Grails
                                    ${$a(href: 'documentation.html', 'documentation')}, which explains all the details about the framework, 
                                    such as how to use the ${$a(href: 'documentation.html#tools', 'tools')}
                                    that come with a Grails installation.
                                """
                                p """
                                     ${$a(href: 'http://guides.grails.org', 'Grails guides')}, 
                                     ${$a(href: '#onlinetraining', 'courses')}, ${$a(href: '#books', 'books')},
                                     or ${$a(href: '#videos', 'presentations')}, given about Grails at conferences, are excellent resources 
                                     to learn more about Grails as well. 
                                """
                            
                                hr(class: 'divider')

                                a(name: 'onlinetraining') {}

                                h2 {
                                    i(class: 'fa fa-graduation-cap') {}
                                    yield ' Online Training'
                                }

                                p {
                                    yield '<NAME>, Co-founder of the Grails framework, teaches a series of online '
                                    a(href: 'https://objectcomputing.com/training/catalog/grails/grails-workshops/', 'Grails training courses')
                                    yield '.'
                                }

                                onlineTrainingCatalogue.each {
                                    Course course = it.value
                                    div(class: 'course') {
                                        h2 { a(href: course.url, course.title) }
{'fraction_non_alphanumeric': 0.09607984607984608, 'fraction_numerical': 0.0016835016835016834, 'mean_word_length': 0.7301851466611192, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 62, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7036850', 'n_tokens_mistral': 1868, 'n_tokens_neox': 1693, 'n_words': 424}